@getentityarrayvalue()

Returns the array value of an entity.

Syntax

@getentityarrayvalue (entity_type, entity_id, data_name, index)

Type

HyperMesh Template Function

Description

Returns the array value of an entity.

Inputs

entity_type
The type of entity to query.
entity_id
The ID of the entity to query.
data_name
The array data name to query. Note that "." extentions for data names are not supported.
index
The index into the array to query, starting at 0.

Examples

To export all the IDs of a set:

*counterset(counter1,0)
*loopif([counter1 != idsmax])	
    *field(int,[@getentityarrayvalue(sets,id,ids,counter1)],10)
    *counterinc(counter1)
*endloop()

Version History

2019