*attributeupdateentityidarrayelementmark
Updates one element of an attribute of type 2D entity ID array.
Syntax
*attributeupdateentityidarrayelementmark entity type mark identifier solver status behavior target entity index value
Type
HyperMesh Tcl Modify
Description
Updates one element of an attribute of type 2D entity ID array.
Inputs
- entity type
- The type of entity that owns the attribute.
- mark
- The number of the mark where the list of IDs resides.
- identifier
- The identifier of the attribute.
- solver
- The solver number of the attribute.
- status
- The status of the attribute.
- behavior
- The behavior of the attribute.
- target entity
- The type of entity to which the attribute refers.
- index
- Index into the array (first index is zero).
- value
- The new value of the 2D array element.
Examples
Assuming you want to update an element in an entity ID array attribute to point to a loadcol with an ID of 5. The attributes are found on materials with ID's of 7 and 8, do the following:
*createmark(materials, 1) 7 8
*attributeupdateentityidarrayelementmark(materials, 1, 1234, 1, 2, 0, loadcols, 0, 5)