Remqps 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 |
可选参数。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 |
如果执行不成功或出错,返回空值。 |
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