hwISession SaveReportTemplate

Save the current session to a report template.

Syntax

hwISession_handle SaveReportTemplate filename

Application

HyperWorks Tcl Modify

Inputs

filename
The destination filename for the report template.

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.

3 = HW_InvalidHandle - The handle used to invoke the method is no longer valid.

HW_MissingArg - Filename is an empty string.