Click or drag to resize
CSYSiScript Method
Checks to see if we are running inside OMS (script mode)

Available since Oasis montaj version: 6.0.1
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public static int iScript()

Return Value

Type: Int32
0 - Normal mode 1 - Scripting mode A number of functions can only be run from inside Oasis montaj (such as GetDisplayAreaRaw_EMAP), because they require an actual window object, such as an editable database or map. Use this function to prevent calls
See Also