hwIDataFile GetSubcase
Returns the name of the current subcase.
Syntax
hwIDataFile_handle GetSubcase
Application
Tcl Query
Description
Returns the name of the current subcase.
hwIDataFile GetDataTypeList returns the list of data types for the current subcase only.
Inputs
- datatypename
- The name of the data type that is being queried. Requests vary by data type. For a
list of datatypenames, use data_file_handle
GetDataTypeList
. - include_time (Optional)
- A filter that determines if Time is to be included as a request. This is not a normal request and defaults to false.
Example
To get the list of available subcases from a data
file:
hwi GetSessionHandle mySessionName
mySessionName GetDataFileHandle myDataFile "indy.req"
myDataFile GetSubcaseList subcase_list
myDataFile SetSubcase "Displacement"
myDataFile GetSubcase
myDataFile GetDataTypeList type_list
Errors
None.