HM_ExtAPI::MeshGetComponentCount()

Returns the total number of mesh components in a mesh object.

Syntax

bool MeshGetComponentCount(
const HM_EntityMesh& hmesh,
int & mesh_comps_count
);

Type

HyperMesh Ext API Function

Description

Returns the total number of mesh components in a mesh object.

If the function succeeds, the return value is true. To get extended value information, call HM_ExtAPI::GetLastErrorCode().

Requires including hm_extapi.h.

Inputs

hmesh
[in] - Handle to mesh object that was returned by previous calls to API functions.
mesh_comps_count
[out] - The total number of mesh components in the mesh object.

Errors

None.

Version History

11.0.101