![](../icons/Help.png) | CPROJiGetCommandEnvironment Method |
The current command environment
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: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static int iGetCommandEnvironment(
CGXNETCore gxNetShared
)
Public Shared Function iGetCommandEnvironment (
gxNetShared As CGXNETCore
) As Integer
public:
static int iGetCommandEnvironment(
CGXNETCore^ gxNetShared
)
static member iGetCommandEnvironment :
gxNetShared : CGXNETCore -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
Return Value
Type:
Int32
<define>COMMAND_ENV</define>
Notes We are moving towards embedded tools and menus and this setting can be
queried from the project to determine how specific commands should react.
Only 3D viewer is currently making use of this.
See Also