hm_attributetypename
Returns the attribute type string of an attribute for the current template.
Syntax
hm_attributetypename attribute_name_or_id
Type
HyperMesh Tcl Query Command
Description
Returns the attribute type string of an attribute for the current template. If the attribute is not an attribute from the current template, an error is returned.
Inputs
- attribute_name_or_id
- The name or ID of the attribute to query. The attribute must be in the current template.
Examples
To get the attribute type string of the attribute named LSD_PID for the LS-DYNA template:
hm_attributetypename LSD_PID
To get the attribute type string of the attribute ID 149 for the LS-DYNA template:
hm_attributetypename 149
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10-SA1-110