getlayerslist3d

Returns the valid layers 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

R = getlayerslist3d(filename, datatype)

R = getlayerslist3d(filename, subcase, datatype)

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

Outputs

R
Cell array of layer names.

Examples

Basic getlayerslist3d example with subcase and datatype indices:
R = getlayerslist3d('tutorials/flatPlateModelingTechniques_OS.h3d',1,2)
R = 
{
  [1,1] Z1
  [1,2] Z2
  [1,3] Mid
}