AmosGetContainedEntities()

The AmosGetContainedEntities(); rule retrieves all entities contained by the entity with a specified entityId.

Syntax

The AmosGetContainedEntities(); statement uses following syntax.

AmosGetContainedEntities ( entityId );

Example

The following example shows how to use the AmosGetContainedEntities(); rule.

int entityId=0;
entityId = eval(int,'&NmosEntityId');

RecordList myEntities = NULL;
myEntities = AmosGetContainedEntities(entityId);