GM_Utility .RunScript 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)

C#
Copy
public static GM_LayerList_t RunScript(
string aFilenameOrText,
GM_LoadFlags_t32 aLoadFlags,
Object aReserved
)
Parameters
- aFilenameOrText
-
Type:
System
.
String
IN: string with full path of script or the actual text of the script - aLoadFlags
-
Type:
GlobalMapper
.
GM_LoadFlags_t32
IN: Extra flags for load behavior - aReserved
-
Type:
System
.
Object
IN: Reserved for future use, must be NULL
Return Value
Type: GM_LayerList_tA GM Error Code
