*defineattribute()
Defines an attribute for a solver.
Syntax
*defineattribute (name, identifier, type, behavior)
Type
HyperMesh Template Command
Inputs
- name
- The attribute name (maximum of 31 characters).
- identifier
- The number associated with the attribute. The z can be in the range of 1 to 32768.
- type
- The attribute type. Legal values are:
integer Attribute contains an integer arrayofinteger Attribute contains an array of integer numbers arrayofinteger2d Attribute contains a 2d array of integer numbers real Attribute contains a floatingpointnumber arrayofreal Attribute contains an array of floating point numbers arrayofreal2d Attribute contains a 2d array of floating point numbers string Attribute contains a string arrayofstring Attribute contains an array of strings entity Attribute contains a reference to an entity (its ID and type) arrayofentity Attribute contains an array of entities arrayofentity2d Attribute contains a 2d array of entities - behavior
- Determines how attributes are treated when the entity that owns it is changed. This field has not been implemented. The only value for behavior is none.
Example
All entities in the HyperMesh database may point to attributes. Attributes are defined with the *defineattribute command.