Click or drag to resize
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.GXNetX
Assembly: 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
Syntax
public static void DoCommand(
	CGXNETCore gxNetShared,
	string command
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
command
Type: SystemString
Command
See Also