Creates a vector from two 3-D points.
Rhino.VectorCreate (arrPoint1, arrPoint2)
arrPoint1 |
Required. Array. The first 3-D point. |
arrPoint2 |
Required. Array. The second 3-D point. |
Array |
The resulting 3-D vector if successful. |
Null |
On error. |
Dim arrPt1, arrPt2, arrVector
arrPt1 = Rhino.GetPoint("First point")
arrPt2 = Rhino.GetPoint("Next point")
arrVector = Rhino.VectorCreate(arrPt2, arrPt1)
Rhino.Print Rhino.Pt2Str(arrVector)