hwIDataFile IsValid

Finds whether the data file handle holds a valid file.

Syntax

hwIDataFile_handle IsValid

Application

HyperWorks Tcl Query

Description

This command returns whether the data file handle holds a valid file. If the file is valid, a true is returned. If the file is not valid, false is returned. To find why a file is not valid, use the IsFilePresent command.

Example

hwi GetSessionHandle sess;
sess GetDataFileHandle df c:/demos/mv_hv_hg/plotting.adams/wiper.req;
df IsValid

Error

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

Keywords

HyperWorks

Tcl

Data File

Query