getcomplist3d
Returns the valid components 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 Twin Activate commercial edition.
Syntax
getcomplist3d(filename, datatype)
getcomplist3d(filename, subcase, datatype)
R = getcomplist3d(...)
Inputs
- filename
- Path of the file.
- subcase
- Subcase name or index in the file.
- datatype
- Data type name or index in the file.
Outputs
- R
- Cell array of component names.
Examples
Basic getcomplist3d example with subcase and datatype indices:
getcomplist3d('tutorials/Comp-plate-1LC.h3d',1,1)
ans =
{
[1,1] X
[1,2] Y
[1,3] Z
[1,4] MAG
}
Basic getcomplist3d example with subcase and datatype names:
getcomplist3d('tutorials/Comp-plate-1LC.h3d','Subcase 1 (LC-Tens)','Displacement')
ans =
{
[1,1] X
[1,2] Y
[1,3] Z
[1,4] MAG
}