hm_getentitytypedisplayname

Returns the display name for the specified entity type.

Syntax

hm_getentitytypedisplayname entity_type ?singlular?

Type

HyperMesh Tcl Query

Description

This command returns the display name for the specified entity type.

Inputs

entity_type
The entity type to query.
singular
0 - Returns the plural display name
1 - Returns the singular display name (default)

Examples

To get the singular display name for elements:

hm_getentitytypedisplayname elems

or

hm_getentitytypedisplayname elems 1

To get the plural display name for elements:

hm_getentitytypedisplayname elems 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

13.0