*attributeupdatesolverid

Updates an attribute of type solver_id.

Syntax

*attributeupdatesolverid entity_type entity_id identifier solver status behavior solver_id pool_id

Type

HyperMesh Tcl Modify Command

Description

Solver IDs and ID pools let HyperMesh maintain the organization of models for solvers whose data model does not correspond well to the natural layout. The IDs themselves are stored on a special kind of attribute attached to the entity.

This command is used to update the solver ID attribute for a specified entity.

The need to use this command is very rare and is provided for situations that understand the ID pool organization of a particular solver.

Inputs

entity_type
The entity type that owns the attribute.
entity_id
The HyperMesh internal 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.
solver_id
The solver ID to record to the attribute.
pool_id
The ID of the solver ID pool to which the solver ID belongs.

Examples

Update a solver ID attribute 1241 on a material with ID 100 to record a solver ID of 3 in pool number 1:
*attributeupdatesolverid materials 100 1241 6 2 0 3 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}