NurbsCurve.Length operator

Description

Returns the length of the curve as a Double.

C# Syntax

// get accessor
Double rtn = NurbsCurve.Length;

Examples

VBScript Example

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