*attributeupdateentityidarray2delementmark
Updates one element of an attribute of type 2D entity ID array.
Syntax
*attributeupdateentityidarray2delementmark entity_type mark identifier solver status behavior target_entity row col value
Type
HyperMesh Tcl Modify Command
Description
Updates one element of an attribute of type 2D entity ID array.
Inputs
- entity_type
- The entity type 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.
- row
- The row number the value to be changed resides in (first row is zero).
- col
- The column number the value to be changed resides in (first column is zero).
- value
- The new value of the 2D array element.
Examples
This example assumes you want to update an element in a 2D entity ID array attribute to point to a loadcol with an ID of 5 (specifically located at row 3, column 2). The attributes are found on materials with ID's of 7 and 8. Do the following:
*createmark materials 1 7 8
*attributeupdatedoublearray2delementmark materials 1 1234 1 2 0 loadcols 2 1 5