gettypeindex3d
Return the index of a datatype in a data file using the 3D CAE Readers. The function has two forms. Use the first form when there are no subcases and second form when there are multiple subcases.
Attention: Valid only with Altair CAE Readers and Writers Extension.
Syntax
gettypeindex3d(filename, datatype)
gettypeindex3d(filename, subcase, datatype)
R = gettypeindex3d(...)
Inputs
- filename
- Path of the file.
- subcase
- Subcase name or index in the file.
- datatype
- Data type name in the file.
Outputs
- R
- Index of data type.
Examples
Basic gettypeindex3d example with
subcase:
gettypeindex3d('Comp-plate-1LC.h3d',1,'Composite Failure Index:Failure Index')
ans = 15