GM_UtilityRunScript Method
Runs a Global Mapper script (.gms) or workspace (.gmw), either from a file or from script text

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_LayerList_t RunScript(
	string aFilenameOrText,
	GM_LoadFlags_t32 aLoadFlags,
	Object aReserved
)

Parameters

aFilenameOrText
Type: SystemString
IN: string with full path of script or the actual text of the script
aLoadFlags
Type: GlobalMapperGM_LoadFlags_t32
IN: Extra flags for load behavior
aReserved
Type: SystemObject
IN: Reserved for future use, must be NULL

Return Value

Type: GM_LayerList_t
A GM Error Code
See Also