getnumcomps3d
Returns the number of components within a given data type. The function has two forms. Use the first form when there is zero or at most one subcase and the second form when there are multiple subcases.
Syntax
R = getnumcomps3d(filename, datatype)
R = getnumcomps3d(filename, subcase, datatype)
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
- Number of components.
Examples
R = getnumcomps3d('tutorials/Comp-plate-1LC.h3d','Subcase 1 (LC-Tens)',1)
R = 4