*attributeupdatedoublearray2d
Updates an attribute of type 2D double array.
Syntax
*attributeupdatedoublearray2d entity type id identifier solver status behavior data rows cols
Type
HyperMesh Tcl Modify
Description
Updates an attribute of type 2D double array.
Inputs
- entity type
- The type of entity that owns the attribute.
- id
- The ID of the entity.
- 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.
- data
- 2D array of doubles.
- rows
- The number of rows in the array.
- cols
- The number of columns in the array.
Example
Update an attribute of type 2D double array to [1,2,3] on the material with ID 7.
[4,5,6]
*createdoublearray2d(2,3) 1 2 3 5 6 7
*attributeupdatedoublearray2d(materials,7,615,2,2,0,1,1)