@getvaluefromarraydatabyindex()
Retrieves the value at given index from a 1D array data name attached to an entity.
Syntax
@getvaluefromarraydatabyindex (entity_type, entity_id, data_name, index)
Type
HyperMesh Template Function
Description
Retrieves the value at given index from a 1D array data name attached to an entity.
Inputs
- entity_type
- The type of entity to query.
- entity_id
- The ID of the entity to query. Internal ID in case of entity has multiple idpools.
- data_name
- The data name belongs to the entity, should be a 1D array.
- index
- The index of the array (starting from 0).
Examples
*variableset(variable1,[@getvaluefromarraydatabyindex(solvermasses,id,nsm_ids,counter1)])
Version History
2026