Navigation: Scripting Reference Manual > Functions & Subroutines > AddApertureCurve

 

AddApertureCurve

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds an Aperture Curve to the document and returns the identifier for the added curve.  An aperture curve is a collection of other closed curves that can be combined in various ways to trim a surface.  The curves can be "and"ed and "or"ed together in various ways allowing a very general means to set apertures and holes of various shapes on a surface.  See T_APERTURECURVEOP for more information.  Note that each of the member curves must be a closed curve.

 

Syntax

n = AddApertureCurve( entity, curveOps )

 

Parameters

n (Long)

Node number of the added curve.  A return value of -1 indicates that the curve could not be created or added.

 

entity As T_ENTITY

The basic entity parameters of the curve.

 

curveOps() As T_APERTURECURVEOP

An array of type T_APERTURECURVEOP.  Each element of the array specifies one member curve and how it is used by the aperture curve.

 

 

See Also

GetApertureCurve

GetApertureCurveOpCount

GetApertureCurveProjection

SetApertureCurve

SetApertureCurveProjection

T_ENTITY

T_APERTURECURVEOP

 

 

 

 

 

Copyright © Photon Engineering, LLC