hm_attributenamefromid

Returns an attribute name from the attribute ID for the current template.

Syntax

hm_attributenamefromid attribute_id

Type

HyperMesh Tcl Query Command

Description

Returns an attribute name from the attribute ID for the current template. If the attribute does not exist in the current template, an error is returned.

Inputs

attribute_id
The ID of the attribute to query.

Example

To get the attribute name of the attribute ID 100:

hm_attributenamefromid 100

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

10-SA1-110