Maptitude GISDK Help

SaveWorkspace()

Summary

Saves the current workspace to a file.

 

Syntax

SaveWorkspace(string file_name [, array options])

 

Argument Contents
file_name Path and file name for the workspace

 

Option Type Contents
Header Data Any A value to store in the file header, including an array

 

Notes

Example

SaveWorkspace("mywork.wrk")

 

// HeaderData variable defined previously

SaveWorkspace("c:\\datafile\\mywork1.wrk", {{"Header Data", HeaderData}})

 

Error Codes

Error Type Meaning
Error An error occurred writing to the workspace file (e.g., out of disk space)

 

See Also

Function Summary
OpenWorkspace() Restores a workspace from its file

 

 

©2025 Caliper Corporation www.caliper.com