Navigation: Scripting Reference Manual > Functions & Subroutines > AddLine

 

AddLine

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a new line segment curve to the associated FRED document.

 

Syntax

n = AddLine ( entity, line )

 

Parameters

n (Long)

Node number of the new Line Segment curve.

 

entity As T_ENTITY

The generic entity data for the new Line Segment curve.

 

line As T_LINE

The data specific to the Line Segment curve.

 

 

Remarks

This function adds a Line Segment curve to a Custom Element in the FRED document's geometry.  It returns a value of -1 if the curve could not be created or added to the document.

 

See Also

T_ENTITY

T_LINE

InitLine

SetLine

GetLine

Examples

Curves

 

 

 

 

 

Copyright © Photon Engineering, LLC