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.

Attention: Valid only with Altair CAE Readers and Writers Extension.

Syntax

getcompindex3d(filename, datatype, component)

getcompindex3d(filename, subcase, datatype, component)

R = getcompindex3d(...)

Inputs

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

Outputs

R
Index of the component.

Examples

Basic getcompindex3d example with subcase:

getcompindex3d('Comp-plate-1LC.h3d',1,1,'X')
ans = 1