RhinoCommon API
ObjectTableFindByDrawColor Method |
Finds all objects whose draw color matches a given color.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public RhinoObject[] FindByDrawColor( Color drawColor, bool includeLights )
Public Function FindByDrawColor ( drawColor As Color, includeLights As Boolean ) As RhinoObject()
Parameters
- drawColor
- Type: System.DrawingColor
The alpha value of this color is ignored. - includeLights
- Type: SystemBoolean
true if lights should be included.
Return Value
Type: RhinoObjectAn array of Rhino document objects. This array can be empty.
