*attributeupdate_entityidarray2d

Updates an attribute that is a 2D array of entity IDs.

Syntax

*attributeupdate_entityidarray2d entity_type id identifier solver status behavior target_entity data rows cols

Type

HyperMesh Tcl Modify Command

Description

Updates an attribute that is a 2D array of entity IDs.

Inputs

entity_type
The type of entity that owns the attribute.
id
The ID of the entity that owns the attribute.
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.

Examples

If you want to store the following 2x2 table in an attribute,
  • 12
  • 89

You would do the following:

*createarray 4 1 2 8 9
*attributeupdate_entityidarray2d loadcols 1 1234 1 2 0 materials 2 2