![](../icons/Help.png) | CSYSDoCommand Method |
Execute an Oasis montaj command.
Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Commands syntax: "[type] command"
======= ============================================================================================
type command
======= ============================================================================================
ID Internal Menu Command (as found in omn and geobar files e.g. *ID_EDIT_SELECT)
------- --------------------------------------------------------------------------------------------
GX gx file name
------- --------------------------------------------------------------------------------------------
GS gs file name
------- --------------------------------------------------------------------------------------------
DOTNET dll file name
Use qualifiers to specify class and method e.g.:
"[DOTNET] geogxnet.dll(Geosoft.GX.NewGDB.NewGDB;Run)"
------- --------------------------------------------------------------------------------------------
PDF Geosoft pdf file name (Not Adobe PDF document, a legacy Geosoft Sushi script)
------- --------------------------------------------------------------------------------------------
DOS DOS style command
------- --------------------------------------------------------------------------------------------
HLP help file name
======= ============================================================================================
The must be ONE space between the "]" and the command. For example:
"[ID] ID_EDIT_SELECT" // bring up the line edit tool
Syntaxpublic static void DoCommand(
CGXNETCore gxNetShared,
string command
)
Public Shared Sub DoCommand (
gxNetShared As CGXNETCore,
command As String
)
public:
static void DoCommand(
CGXNETCore^ gxNetShared,
String^ command
)
static member DoCommand :
gxNetShared : CGXNETCore *
command : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - command
- Type: SystemString
Command
See Also