SaveWorkspace¶
- globalmapper.SaveWorkspace(string aFilename, uint32 aReserved=0) GM_Error_t32[source]¶
- Saves the current list of loaded layers and display options to a workspace (GMW) file. You can load a workspace file using any of the LoadLayer* functions. - Parameters:
- aFilename (str) – Name of workspace file to save. 
- aReserved (int) – Reserved for future use; defaults to 0 
 
- Returns:
- Error Code 
- Return type:
- GM_Error_t32 
 
Example¶
The following is an example of SaveWorkspace.
err_SaveWorkspace = gm.SaveWorkspace(export_dir + "workspace.gmw", 0)
