HM_ExtAPI::GeomSolidGetComponent()

Returns component the contains the solid.

Syntax

bool GeomSolidGetComponent(
const HM_EntityGeomSolid & solid,
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

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

Errors

None.