hm_getentityname

Returns the full HyperMesh entity type name for the passed entity type ID.

Syntax

hm_getentityname entity_type_id

Type

HyperMesh Tcl Query

Description

This command returns the fully qualified HyperMesh entity name for the specified entity_type_id. Each entity type in HyperMesh is assigned a unique ID. This ID is converted to the entity type name using this command.

If entity_type_id is not valid, undefined will be returned.

This is the inverse of the hm_getentitytype command.

Inputs

entity_type_id
The unique entity type ID.

Examples

To get the name of entity type 1 (nodes):

hm_getentityname 1

To get the name of entity type 11 (properties):

hm_getentityname 11

Errors

None.