HM_entitytypegetname()

Returns the name of an entity, given the HyperMesh #defined type number.

Syntax

char *HM_entitytypegetname(HM_entitytype entities, int style)

Type

HyperMesh hmlib Function

Description

Returns the name of an entity, given the HyperMesh #defined type number.

Inputs

entities
The HyperMesh #defined type number.
style
Controls the format of the returned string.
  • 1 - Returns an 8-character name, i.e., "comps."
  • 2 - Returns a 16-character name, i.e., "components."
  • 3 - Returns a 16-character, properly capitalized name, i.e., "Components."

Example

The name of the HyperMesh #defined entity number (i.e., "comps," "elems," etc.).

Errors

None.