Navigation: Scripting Reference Manual > Functions & Subroutines > FindGroupFromEntity

 

FindGroupFromEntity

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the first index of an entity in the groups of the associated FRED document.

 

Syntax

group = FindGroupFromEntity ( n )

 

Parameters

group (Long)

The index in a group

 

n As Long

Node number of the entity whose group index is to be found.

 

Remarks

This function returns the first index of an entity in the groups of the associated FRED document. If there is a problem the functions sets an error and returns -1. If no error is set but -1 was returned, the entity is not a member of any group.

 

See Also

AddToNthGroup

FindEntityInGroup

FindGroup

GetGroupCount

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC