hm_getentitytype

Returns the HyperWorks Desktop entity type ID for the passed entity type name.

Syntax

hm_getentitytype entity_type

Type

HyperMesh Tcl Query Command

Description

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

If entity_type is not valid, undefined will be returned.

This is the inverse of the hm_getentityname command.

Inputs

entity_type
The unique entity type ID.

Examples

To get the type ID of nodes (1):

hm_getentitytype nodes

To get the type ID of properties (11):

hm_getentitytype properties

Errors

None.

Version History

11.0