Click or drag to resize
RhinoObjectIsSelected Method
Rhino 5 for Windows
Check selection state.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public int IsSelected(
	bool checkSubObjects


Type: SystemBoolean
(false is good default) If true and the entire object is not selected, and some subset of the object is selected, like some edges of a surface, then 3 is returned. If false and the entire object is not selected, then zero is returned.

Return Value

Type: Int32
0 = object is not selected. 1 = object is selected. 2 = entire object is selected persistently. 3 = one or more proper sub-objects are selected.
See Also