.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionReturns the coordinates of a point in the referenced NURBS curve or surface.
The index is zero based (0 to number of points - 1).
VAR pX,pY,pZ :REAL);
def vs.NurbsGetPt3D(objectHd, index1, index2): return p
objectHd HANDLE Handle to NURBS curve or surface. index1 LONGINT Index of point in NURBS curve, or u-coordinate of point location in NURBS surface. index2 LONGINT V-coordinate of point location in NURBS surface. p REAL Coordinates of the control point.
Remarksthis function will work for both nurbs curves and nurbs surfaces.
Gets the index2 vertex of the indexe1 piece of the given NURBS curve or the index1 U and index2 V control point of the surfaces.
For a nurbs curve, index1 is the piece number of the nurbs curve. Index2 is the vertex number within that piece.
NurbsCurveGetNumPieces will give you the number of pieces inside of the nurbs curve. (1-based)
NurbsGetNumPts will give you the number of points inside of a piece.
VersionAvailability: from VectorWorks9.0
See AlsoVS Functions: