NurbsCurve.Index
 
 
 

NurbsCurve.Index operator

Description

Returns the index of the curve in the NurbsCurveList as a Long.

C# Syntax

// get accessor
Int32 rtn = NurbsCurve.Index;

Examples

VBScript Example

set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Arc","NurbsCurve")
set oNurbsCurveList = oObject.ActivePrimitive.Geometry
for each oNurbsCurve in oNurbsCurveList.Curves
        logmessage oNurbsCurve.Index
next