Navigation: Scripting Reference Manual > Functions & Subroutines > SetParent

 

SetParent

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the parent of a specified entity in the associated FRED document.

 

Syntax

SetParent n, parent

 

Parameters

n As Long

Node number of the entity to inherit new parentage.

 

parent As Long

Parent entity node number.

 

Remarks

This subroutine sets the parent of a specified entity in the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the entity parentage.

 

See Also

GetParent

GetChild

GetSibling

GetType

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC