hm_attributetype
Returns the attribute type number of an attribute for the current template.
Syntax
hm_attributetype attribute_name_or_id
Type
HyperMesh Tcl Query Command
Description
- 1 - integer
 - 2 - double
 - 3 - string
 - 4 - 1D integer array
 - 5 - 1D double array
 - 6 - entity
 - 7 - (not supported)
 - 8 - (not supported)
 - 9 - 2D integer array
 - 10 - 2D double array
 - 11 - string array
 - 12 - 1D entity array
 - 13 - 2D entity array
 
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 number of the attribute named LSD_PID for the LS-DYNA template:
hm_attributetype LSD_PID
      To get the attribute type number of the attribute ID 149 for the LS-DYNA template:
hm_attributetype 149
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
10-SA1-110