hwISession SaveSessionFile

Writes the session to the given filename.

Syntax

hwISession_handle SaveSessionFilefilename, savealldata

Application

HyperWorks Tcl Modify

Inputs

filename
The session file to be written.
savealldata (Optional)
Allows you to save all the data in the session file as opposed to only references to the data.

Example

To save the current session as a report template to "myfile":
hwi GetSessionHandle mySessionName
mySessionName SaveReportTemplate myfile

Error

Success (0) or an error code.