Navigation: Scripting Reference Manual > Functions & Subroutines > FindEntityInGroup

 

FindEntityInGroup

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the index into the specified group array of a particular entity.

 

Syntax

idx = FindEntityInGroup ( group, n )

 

Parameters

idx (Long)

Will hold the index into the group array of the identifier n.

 

group As Long

The identifier of the group.

 

n As Long

Node number of the entity.

 

Remarks

This function retrieves the index into the group array of a specified entity. If there is a problem the function returns -1.  If the group number is out of range, then an error is set.

 

See Also

FindGroup

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC