NurbsCurve.Index operator

Description

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

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