Moves the origin of a plane.
Rhino.MovePlane (arrPlane, arrOrigin)
arrPlane |
Required. Array. The plane. The elements of a plane array are as follows:
|
||||||||||
arrOrigin |
Required. Array. A 3-D point identifying the new origin location. |
Array |
The plane if successful. The elements of a plane array are as follows:
|
||||||||||
Null |
If not successful, or on error. |
Dim arrPlane, arrOrigin
arrOrigin = Rhino.GetPoint("CPlane origin")
If IsArray(arrOrigin) Then
arrPlane = Rhino.ViewCPlane
If IsArray(arrPlane) Then
Rhino.ViewCPlane , Rhino.MovePlane(arrPlane, arrOrigin)
End If
End If