Navigation: Scripting Reference Manual > Functions & Subroutines > AddCompositeCurve

 

AddCompositeCurve

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a new Composite Curve to the associated FRED document.

 

Syntax

n = AddCompositeCurve ( entity, curves )

 

Parameters

n (Long)

Node number of the new Composite Curve.

 

entity As T_ENTITY

The generic entity data for the new Composite Curve.

 

curves() As Long

Array of curve identifiers for the curves that will make up the Composite Curve.

 

 

Remarks

A composite curve is a sequence of individual curves connected together to form a single curve.  The end of each curve in the sequence must connect to the start of the following curve.  An invalid composite curve results if consecutive curves in the sequence do not connect.

 

This function adds a Composite Curve to the associated FRED document and returns the curve identifier for the new Composite Curve.  It toggles an error and returns a value of -1 if the curve could not be created or added to the document.

 

See Also

T_ENTITY

SetCompositeCurve

GetCompositeCurve

Examples

Curves

 

 

 

 

 

Copyright © Photon Engineering, LLC