IsObjectSelectable

Verifies that an object is selectable.  Objects that are locked, hidden, or on locked or hidden layers cannot be selected.

Syntax

Rhino.IsObjectSelectable (strObject)

Parameters

strObject

Required.  String.  The identifier of an object.

Returns

True

The object is selectable.

False

The object is not selectable.

Null

On error.

Example

Dim strObject

'Do something here...

If Rhino.IsObjectSelectable (strObject) Then

Rhino.SelectObject strObject

End If

Also See

IsObject

IsObjectHidden

IsObjectInGroup

IsObjectLocked

IsObjectNormal

IsObjectReference

IsObjectSelected

IsObjectSolid