HM_ExtAPI::GeomFaceGetComponent()

Returns component that contains the face.

Syntax

bool GeomFaceGetComponent(
const HM_EntityGeomFace & face,
HM_EntityComponent& comp
);

Type

HyperMesh Ext API Function

Description

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

face
[in] - Handle to face object that was returned by previous calls to API function.
comp
[in] - The handle to the component. The value of the handle is NULL if the face handle is invalid.

Errors

None.