*attributeupdatedoublearray2delementmark
Updates one element of an attribute of type 2D double array.
Syntax
*attributeupdatedoublearray2delementmark entity type mark identifier solver status behavior row col value
Type
HyperMesh Tcl Modify
Description
Updates one element of an attribute of type 2D double array.
Inputs
- entity type
- The type of entity that owns the attribute.
- mark
- The number of the mark where the list of IDs reside.
- 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.
- 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.
Example
To update the item in a 2D array attribute to 5 (specifically row 3, column 2). The
attributes are found on materials with IDs of 7 and 8. Do the
following:
*createmark(materials, 1) 7 8
*attributeupdatedoublearray2delementmark(materials, 1, 1234, 1, 2, 0, 2, 1, 5)