::hwat::utils::UpdateAttribute - Updates an attribute’s value in the HM database.
UpdateAttribute entityType entityId id type solver status value targetEntityType
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.(default 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 |
Optional - entity type to which the attribute points. |
1 if successful, "{}" if unsuccessful.
::HWAT::UTILS::UpdateAttribute "components" 1 154 real 9 1 10.0