HyperWorks Tools

::hwat::utils::GetAttributeValue

::hwat::utils::GetAttributeValue

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetAttributeValue

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::GetAttributeValue - Gets the value of an attribute from the HM 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

A list of attribute values, {} if unsuccessful.

 

EXAMPLE

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

 

Comments

A mechanism for querying attributes of an entity.

 

 

See also

Utils Functions