hwIDataFile GetSubcaseList
Returns a list of all subcases.
Syntax
hwIDataFile_handle GetSubcaseList
Application
Tcl Query
Description
Files that do not support subcases will return Success, but the list argument will be empty.
Example
To get the list of available subcases from a data
file:
hwi GetSessionHandle mySessionName
mySessionName GetDataFileHandle myDataFile "indy.req"
set subcase_list [myDataFile GetSubcaseList]
myDataFile SetSubcase "Displacement"
myDataFile GetSubcase
set type_list [myDataFile GetDataTypeList]
Error
Success (0) or an error code.
3 = HW_InvalidHandle The specified data file handle is invalid.