pltIExportCtrl SetFilename

Sets the name of a file.

Syntax

pltIMacro_handle GetFilename filename

Application

HyperWorks Tcl Modify

Description

This command sets the name of the export file. Once a name is assigned, you can export the file.

Inputs

filename
The filename for the export file. To find the correct format extension for the file, call GetFormatExtension.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetMacroHandle mh 1;
mh GetExportCtrlHandle ex;
ex SetFilename myfile.txt;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Export

Modify