getcompindex3d
Returns the index of a component for a given data type 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.
Syntax
getcompindex3d(filename, datatype, component)
getcompindex3d(filename, subcase, datatype, component)
R = getcompindex3d(...)
Inputs
- filename
- Path of the file.
- subcase
- Subcase name or index in the file.
- datatype
- Data type name or index in the file.
- component
- Component name to find the index of.
Outputs
- R
- Index of the component.
Examples
Basic getcompindex3d example with subcase:
getcompindex3d('Comp-plate-1LC.h3d',1,1,'X')
ans = 1