hwISession SetExportMode

Sets the export mode for the page.

Syntax

hwISession_handle SetExportMode mode

Application

HyperWorks Tcl Query

Inputs

mode
"html" sets the mode to HTML.
This function, along with hwIPage SetIsExporting, replaces the command hwIPage SetExportToHTML.

Example

To set the export mode to HTML:
hwi GetSessionHandle mySessionName
mySessionName SetExportMode html

Error

Success (0) or an error code.

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

Keywords

HyperWorks

Tcl

Print

Modify