hwIDataFile IsFilePresent

Finds whether the data file handle holds a file that exists.

Syntax

hwIDataFile_handle IsFilePresent

Application

HyperWorks Tcl Query

Description

This command returns whether the data file handle holds a file that exists. It is typically used after a false value is returned while calling the IsValid command. If true is returned, the file is not valid because it is not a data file. If false is returned, the file is not valid because no such file exists.

Example

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

Error

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

Keywords

HyperWorks

Tcl

Data File

Query