Verifies that an object is selectable. Objects that are locked, hidden, or on locked or hidden layers cannot be selected.
Rhino.IsObjectSelectable (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is selectable. |
False |
The object is not selectable. |
Null |
On error. |
Dim strObject
'Do something here...
If Rhino.IsObjectSelectable (strObject) Then
Rhino.SelectObject strObject
End If