HM_ExtAPI::ComponentGetName()

Returns component name.

Syntax

const char* ComponentGetName(
const HM_EntityComponent& comp
);

Type

HyperMesh Ext API

Description

The string that is returned from the function HM_ExtAPI::ComponentGetName() should be copied for further use.

If the function succeeds, the return value is the pointer to zero terminated string that contains component name.

Do not attempt to free the returned pointer.

Component name returned by HM_ExtAPI::ComponentGetName() is the name visible to users in HyperMesh. In some cases the name closer matching the original name in imported CAD model structure can be retrieved using the function HM_ExtAPI::ComponentGetImportedName().

Requires including hm_extapi.h.

Inputs

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

Errors

None.