RhinoCommon API
ComponentStatusHasSomeEqualStates Method |
For the purposes of this test, Selected and SelectedPersistent are considered equal.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool HasSomeEqualStates( ComponentStatus statesFilter, ComponentStatus comparand )
Public Function HasSomeEqualStates ( statesFilter As ComponentStatus, comparand As ComponentStatus ) As Boolean
Parameters
- statesFilter
- Type: Rhino.GeometryComponentStatus
If no states are specified, then false is returned. - comparand
- Type: Rhino.GeometryComponentStatus
If a state is set in states_filter, the corresponding state in "this" and comparand will be tested.
Return Value
Type: BooleanTrue if at least one tested state in "this" and comparand are identical.

Rhino for Windows
Supported in: 6.8