Click or drag to resize
RhinoObjectIsSubObjectSelectable Method
Rhino 5 for Windows
Reports if a subobject can be selected.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public bool IsSubObjectSelectable(
	ComponentIndex componentIndex,
	bool ignoreSelectionState


Type: Rhino.GeometryComponentIndex
index of subobject to check.
Type: SystemBoolean
If true, then selected objects are selectable. If false, then selected objects are not selectable.

Return Value

Type: Boolean
true 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.
See Also