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.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Syntax
public static int iScript(
	CGXNETCore gxNetShared
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore

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