hwIDataFile SetFilename

Sets the current file in the data file handle.

Syntax

hwIDataFile_handle SetFilename filename

Application

HyperWorks Tcl Modify

Description

This command sets the current file being used in the data file handle.

Inputs

filename
The file path of the desired file. If the file path has spaces in it, the input must be within quotation marks, " ", or curly braces, {}.

Example

hwi GetSessionHandle sess;
sess GetDataFileHandle df c:/demos/mv_hv_hg/plotting.adams/wiper.req;
df SetFilename C:\demos\test.abf

Error

Success (a true or false value) or an error message is returned.

Keywords

HyperWorks

Tcl

Data File

Query