hwIPage SetIsExporting

Sets whether or not the page is exported.

Syntax

hwIPage_handle SetIsExportingexport

Application

HyperWorks Tcl Query

Inputs

export
True
Includes the page in the export.
False
Excludes the page from the export.

This function, along with hwISession SetExportMode, replaces the command hwIPage SetExportToHTML.

Example

To include page 1 when exporting:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName 
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName SetIsExporting true

Error

Success (0) or an error code.

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