NurbsCurve.Degree operator

Description

Returns the degree of the curve as a Long.

C# Syntax

// get accessor
Int32 rtn = NurbsCurve.Degree;

Examples

VBScript Example

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