Remaps one or more objects from one plane, or coordinate system, to another.
Rhino.RemapObjects (arrObjects, arrSrcPlane, arrDstPlane [, blnCopy])
arrObject |
Required. Array. The identifiers of the objects to remap. |
arrSrcPlane |
Required. Array. The source plane to transform from. |
arrDstPlane |
Required. Array. The destination plane to transform to. |
blnCopy |
Optional. Boolean. Copy the object. If omitted, the object will not be copied (False). |
Array |
An array of strings identifying the remapped objects if successful. |
Null |
If not successful, or on error. |
Dim arrObjects, arrSrcPlane, arrDstPlane
arrObjects = Rhino.GetObjects("Select objects to remap")
If IsArray(arrObjects) Then
arrSrcPlane = Rhino.ViewCPlane("Top")
arrDstPlane = Rhino.ViewCPlane("Right")
Rhino.RemapObjects arrObjects, arrSrcPlane, arrDstPlane
End If