getnumtypes3d

Returns the number of data types in a file. By default the first subcase is used.

Attention: Available only with Twin Activate commercial edition.

Syntax

R = getnumtypes3d(filename)

R = getnumtypes3d(filename, subcase)

Inputs

filename
Path of file to be read.
Type: char | string
Dimension: string
subcase
Subcase name or index in the file to be read.
Type: char | string | integer
Dimension: scalar | string

Outputs

R
Number of data types.

Examples

Basic getnumtypes3d example using subcase index:
R = getnumtypes3d('tutorials/Comp-plate-1LC.h3d',1)
R = 16