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.

Syntax

gettypeindex3d(filename, datatype)

gettypeindex3d(filename, subcase, datatype)

R = gettypeindex3d(...)

Inputs

filename
Path of the file.
Type: string
subcase
Subcase name or index in the file.
Type: string | int
datatype
Data type name in the file.
Type: string

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