Click or drag to resize

CPROJiGetCommandEnvironment Method

The current command environment

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

public static int iGetCommandEnvironment()

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. If new Command environment enum values are added, then update the iGetCommandEnvironment_PROJ() function in geogxgui\gxx_app.cpp and in the COMMAND_ENVIRONMENT enums in geoengine.core\include\obj\objgp.h.
See Also