Remqps a single object from one plane, or coordinate system, to another.
Rhino.RemapObject (strObject, arrSrcPlane, arrDstPlane [, blnCopy])
|
strObject |
Required. String. The identifier of the object 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). |
|
String |
The identifier of the remapped object if successful. |
|
Null |
If not successful, or on error. |
Dim strObject, arrSrcPlane, arrDstPlane
strObject = Rhino.GetObject("Select object to remap")
If (strObject <> vbNull) Then
arrSrcPlane = Rhino.ViewCPlane("Top")
arrDstPlane = Rhino.ViewCPlane("Right")
Rhino.RemapObject strObject, arrSrcPlane, arrDstPlane
End If