*attributeupdateintarray2delementmark
Updates one element of an attribute of type integer array.
Syntax
*attributeupdateintarray2delementmark entity type mark identifier solver status behavior row col value
Type
HyperMesh Tcl Modify
Description
Updates one element of an attribute of type integer 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.
- 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
Assuming you want to update an element in a 2D array attribute to 5 (specifically located
at row 3, column 2). The attributes are found on materials with IDs of 7 and 8, you would do
the
following:
*createmark(materials, 1) 7 8
*attributeupdateintarray2delementmark(materials, 1, 1234, 1, 2, 0, 2, 1, 5)