::hwat::utils::GetAttributeValue

Gets the value of an attribute from the HyperMesh database.

Syntax

::hwat::utils::GetAttributeValue entityType entityId dataname type

Arguments

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).

Returns

Success
A list of attribute values.
Failure
{}

Example

::hwat::utils::GetAttributeValue "components" 1 {PCOMP_T1} {real}

Comments

A mechanism for querying attributes of an entity.