::hwat::utils::UpdateAttribute
Updates an attribute’s value in the HyperMesh database.
Syntax
UpdateAttribute entityType entityId id type solver status value targetEntityType
Arguments
- entityType
 - The type of the entity.
 - entityId
 - The ID of the entity.
 - id
 - The ID of the attribute.
 - type
 - The type: real, integer, entity, string, arrayofreal, arrayofstring, arrayofinteger, or arrayofentity.
 - solver
 - The solver number.
 - status
 - Either 0 or 1.
 - value
 - The value of the attribute. A Tcl list of values in case of an array or target entity ID to which the attribute points.
 - targetEntityType
 - Entity type to which the attribute points.
 
Returns
- Success
 - 1
 - Failure
 - {}
 
Example
::HWAT::UTILS::UpdateAttribute "components" 1 154 real 9 1 10.0