HM_ExtAPI::GetCurrentComponent()
Returns current component.
Syntax
bool GetCurrentComponent(
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
- [out] - Handle to existing component. Returned value can be NULL if no components exist, or none of component is set as current.
Errors
None.