HM_ExtAPI::ComponentSetCurrent()

Sets current component in HyperMesh.

Syntax

bool ComponentSetCurrent(
const HM_EntityComponent& comp
);

Type

HyperMesh Ext API

Description

All new geometry in HyperMesh is created in current component unless otherwise specified by the parameter in geometry creation functions.

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

comp
[in] - Handle to component object that was returned by previous calls to API functions.

Errors

None.