Verifies that an object is currently selected.
Rhino.IsObjectSelected (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is selected. |
False |
The object is not selected. |
Null |
On error. |
Dim strObject
'Do something here...
If Rhino.IsObjectSelected (strObject) Then
Rhino.Print "The object is selected."
Else
Rhino.Print "The object is not selected."
End If