KnotCollection.Array.1.vbs Example
Applies To
KnotCollection.Array property
Description
This example demonstrates how to use the KnotCollection.Array property.
Code
set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface")
set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry
set oUKnots = oNurbsSurfaceMesh.Surfaces(0).Knots(siUDirection)
aKnots = oUKnots.Array
for i = lbound( aKnots ) to ubound( aKnots )
logmessage aKnots(i)
nextKeywords
KnotCollection Array
Autodesk Softimage 2011