pltIExportCtrl SetSource

Sets the source type that is being used in the export.

Syntax

pltIMacro_handle SetFormat source_type

Application

HyperWorks Tcl Modify

Description

This command sets the source type that is being used in the export.

Inputs

source_type
The source type that you want to use in the export file. Sources include: All pages, Current page, Page range, Current plot, or Selected plot. The input must be within parentheses, “”, or curly braces, {}, due to the spaces in the sources.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetMacroHandle mh 1
mh GetExportCtrlHandle ex
ex SetFormat “All pages”

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Export

Modify