::hwat::utils::GetAttributeValue - Gets the value of an attribute from the HM database.
::hwat::utils::GetAttributeValue entityType entityId dataname type
entityType |
The type of the entity. |
entityId |
The ID of the entity. |
dataname |
The list of datanames for the attributes of interest. If it is a template dataname, prefix \$ to the dataname. |
type |
The list of data types (real, integer, entity, string, arrayofreal, arrayofinteger, arrayofentity, or arrayofstring). |
A list of attribute values, {} if unsuccessful.
::hwat::utils::GetAttributeValue "components" 1 {PCOMP_T1} {real}
A mechanism for querying attributes of an entity.