Run Script
Use the Project > Scripting > Run Script menu option (GSRUN GX) to run a script from the Oasis montaj interface.
Run Script dialog options
Script |
The name of the script to run. Script: GSRUN.NAME |
Name.parm=setting |
Up to eight optional parameter settings can be defined. The parameter settings will be defined before running the script. This enables you to set specific values within the script. For example: Script: GSRUN.P0 through .P7 |
Application Notes
Using GX Parameters
If you are creating Geosoft Scripts or your own GXs with the GX Developer toolkit, you need to know about parameters. Parameters control GX processes and have the following syntax:
name.parameter=setting
Where:
name
: normally the name of the GX that uses the parameter (although any name can be used depending on the application)-
parameter
: the parameter associated with the name setting
: a text string setting for that parameter
When a GX process is run from Oasis montaj, the system normally retrieves the previous settings from the project file and displays a dialog in which you can enter values. Whenever you enter new values, the system replaces the previous settings and runs the process with the updated parameters. If you want to see the current settings for your project, select Project > Log File and edit the file.
Setting parameters from the dialog is equivalent to using the SETINI command in the script. The SETINI command in a script can and will change the dialog settings.
The script is initially started with the interactive mode set to OFF. Use the INTERACTIVE command in your script to turn INTERACTIVE ON if required.
To edit a script, click the Edit Script button.
Got a question? Visit the Seequent forums or Seequent support
© 2024 Seequent, The Bentley Subsurface Company
Privacy | Terms of Use