Navigation: Scripting Reference Manual > Functions & Subroutines > AddPlane

 

AddPlane

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a new Plane surface to the associated FRED document.

 

Syntax

n = AddPlane ( entity )

 

Parameters

n (Long)

Node number of the new surface.

 

entity As T_ENTITY

The generic entity data for the new surface.  Note that no other parameters are needed to describe a plane surface.

 

 

Remarks

This function adds a new Plane surface to the associated FRED document and returns the identifier of the new Plane.  If it fails, an error is posted and the function returns a value of -1.

 

See Also

T_ENTITY 

GetPlane

SetPlane

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC