*attributeupdate_entityidarray2d_mark

Updates an attribute, which is a 2D array of entity IDs, on a set of entities.

Syntax

*attributeupdate_entityidarray2d_mark entity type mark identifier solver status behavior target entity data rows cols

Type

HyperMesh Tcl Modify Command

Description

Updates an attribute, which is a 2D array of entity IDs, on a set of entities.

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.
data
The 2D array of IDs.
rows
The number of rows in the array.
cols
The number of columns in the array.

Example

In order to store the 2x2 table shown below in an attribute for loadcols 1 - 7:
  • 1 2
  • 8 9
Do the following:
*createmark loadcols 1 1 2 3 4 5 6 7
*createarray 4 1 2 8 9
*attributeupdate_entityidarray2d loadcols 1 1234 1 2 0 materials 2 2