hwIDataFile SetSubcase
Sets the current subcase.
Syntax
hwIDataFile_handle SetSubcase subcase
Application
HyperWorks Tcl Modify
Description
hwIDataFile GetDataTypeList returns the list of data types for the current subcase only.
Inputs
- subcase
- The name of the subcase to be made current. This name must match exactly the subcase name in the data file.
Example
hwi GetSessionHandle mySessionName
mySessionName GetDataFileHandle myDataFile "indy.req"
myDataFile GetSubcaseList subcase_list
myDataFile SetSubcase "Displacement"
myDataFile GetSubcase
myDataFile GetDataTypeList type_list
Error
- 3 = HW_InvalidHandle
- The specified data file handle is invalid.
- 4 = HW_InvalidArgs
- The specified subcase does not exist.