getcompname3d

Returns the name 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: Available only with Activate commercial edition.

Syntax

getcompname3d(filename, datatype, compindex)

getcompname3d(filename, subcase, datatype, compindex)

R = getcompname3d(...)

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
compindex
Index of a component in the file.
Type: integer

Outputs

R
Name of component.

Examples

Basic getcompname3d with subcase:

getcompname3d('tutorials/Comp-plate-1LC.h3d',1,1)
ans = X