HM_ExtAPI::GeomSolidGetBoundariesCount()

Returns number of boundaries in the solid.

Syntax

bool GeomSolidGetBoundariesCount(
const HM_EntityGeomSolid & solid,
int& bnd_count
);

Type

HyperMesh Tcl Modify Command

Description

Each solid has at least one boundary that separates its volume. One boundary consists of faces connected to each other at their edges. Two boundaries are different if none of the faces from the first boundary are connected at their edges to any of the faces from the second boundary.

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

Requires including hm_extapi.h.

Inputs

solid
[in] - Handle to solid object that was returned by previous calls to API functions.
bnd_count
[out] - Number of boundaries.

Errors

None.