Check selection state.
RhinoCommon (in RhinoCommon.dll)
public int IsSelected(
Public Function IsSelected (
checkSubObjects As Boolean
) As Integer
- 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.
0 = object is not selected.
1 = object is selected.
2 = entire object is selected persistently.
3 = one or more proper sub-objects are selected.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.18