pltIExportCtrl SetFormat

Sets the format of the export file.

Syntax

pltIMacro_handle SetFormat format

Application

Tcl Modify

Description

This command sets the type of format that is to be used when the file is exported.

Inputs

format
The type of format that you want to set for the export file. The different types include: Excel, Column, XY Data, X GRAPH, Summary, Adams Spline, Altair Binary, CSV Blocks, DAC, RPC, and Excel Europe. These types can also be found by calling the GetFormatList function.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetMacroHandle mh 1;
mh GetExportCtrlHandle ex;
ex SetFormat "XY Data";

Errors

Success (0) or an error message is returned.

Keywords

Tcl

Export

Modify