Navigation: Scripting Reference Manual > Functions & Subroutines > GetParent

 

GetParent

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the identifier of the parent of a specified FRED entity.

 

Syntax

parent = GetParent ( n )

 

Parameters

parent (Long)

Node number of the entity's parent.

 

n As Long

Node number of the FRED entity parent.

 

Remarks

This function retrieves the identifier of the parent of a specified FRED entity.  If there is a problem, the function returns -1.

 

See Also

FindFullName

GetEntity

GetChild

GetSibling

GetType

Examples

Entity Info Functions

 

 

 

 

 

Copyright © Photon Engineering, LLC