RhinoCommon API
RhinoObjectIsSubObjectSelectable Method |
Reports if a subobject can be selected.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool IsSubObjectSelectable( ComponentIndex componentIndex, bool ignoreSelectionState )
Public Function IsSubObjectSelectable ( componentIndex As ComponentIndex, ignoreSelectionState As Boolean ) As Boolean
Parameters
- componentIndex
- Type: Rhino.GeometryComponentIndex
index of subobject to check. - ignoreSelectionState
- Type: SystemBoolean
If true, then selected objects are selectable. If false, then selected objects are not selectable.
Return Value
Type: Booleantrue if the specified subobject can be selected.

Objects that are locked, hidden, or on locked or hidden layers
cannot be selected. If IsSelectableWithGripsOn() returns false,
then that object is not selectable if it has grips turned on.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14