Skip to content

RhinoObject.IsSubObjectSelected

Public Class

Check sub-object selection state.

Namespace: Rhino.DocObjects

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public bool IsSubObjectSelected(
ComponentIndex componentIndex
)

Parameters

componentIndex

Type: Rhino.Geometry.ComponentIndex
Index of sub-object to check.

Return Value

Type:Boolean
true if the sub-object is selected.

Remarks

A sub-object cannot be persistently selected.