PrevSelectedObjects - PYTHON 不支持

返回先前选取物件的 ID 。The operation of this function is similar to that of Rhino's SelPrev command.

语法

Rhino.PrevSelectedObjects ([blnSelect])

参数

blnSelect

可选参数。Boolean.Select the object.If omitted, the object is not selected (False).

返回值

Array

An array of strings identifying the previously selected objects if successful.

Null

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

示例

Dim arrObjects, strObject

arrObjects = Rhino.PrevSelectedObjects

If IsArray(arrObjects) Then

For Each strObject In arrObjects

Rhino.Print "Object identifier:" & strObject

Next

End If

同见

LastCreatedObjects