RemapObject - PYTHON 不支持

Remqps a single object from one plane, or coordinate system, to another.

语法

Rhino.RemapObject (strObject, arrSrcPlane, arrDstPlane [, blnCopy])

参数

strObject

Required.字符串。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

可选参数。Boolean.Copy the object.If omitted, the object will not be copied (False).

返回值

String

The identifier of the remapped object if successful.

Null

如果执行不成功或出错,返回空值。

示例

Dim strObject, arrSrcPlane, arrDstPlane

strObject = Rhino.GetObject("Select object to remap")

If Not IsNull(strObject) Then

  arrSrcPlane = Rhino.ViewCPlane("Top")

  arrDstPlane = Rhino.ViewCPlane("Right")

  Rhino.RemapObject strObject, arrSrcPlane, arrDstPlane

End If

同见

RemapObjects