Click or drag to resize

SelCommandSelSubObjectFilter Method

To select subobjects, override this virtual function, add component indices of the subobjects that should get selected to indicesToSelect list and return true. This is called only if the SelFilter returns false and the whole object does not get selected.

Namespace:  Rhino.Commands
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.9
Syntax
protected virtual bool SelSubObjectFilter(
	RhinoObject rhObj,
	List<ComponentIndex> indicesToSelect
)

Parameters

rhObj
Type: Rhino.DocObjectsRhinoObject
The object to check regarding selection status.
indicesToSelect
Type: System.Collections.GenericListComponentIndex
The component indices of the subobjects to select.

Return Value

Type: Boolean
true if components added to indicesToSelect should get selected.
See Also