Click or drag to resize
CPROJiGetCommandEnvironment Method
The current command environment

Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Syntax
public static int iGetCommandEnvironment()

Return Value

Type: Int32
See COMMAND_ENVConstant Notes We are moving towards embedded tools and menus and this setting can be set queried from the project to determine how specific commands should react. ly 3D viewer is currently making use of this.
See Also