返回先前选取物件的 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