NurbsCurve.Knots
 
 
 

NurbsCurve.Knots operator

Description

Returns a KnotCollection containing knot values (represented as Doubles), one for each knot defined for the curve.

C# Syntax

// get accessor
KnotCollection rtn = NurbsCurve.Knots;

Examples

VBScript Example

set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Arc","NurbsCurve")
set oNurbsCurveList = oObject.ActivePrimitive.Geometry
set oNurbsCurve = oNurbsCurveList.Curves(0)
set oUKnots = oNurbsCurve.Knots