RhinoCommon API
ObjectTableFindByLayer Method (Layer) |
Finds all RhinoObjects that are in a given layer.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public RhinoObject[] FindByLayer( Layer layer )
Public Function FindByLayer ( layer As Layer ) As RhinoObject()
Parameters
- layer
- Type: Rhino.DocObjectsLayer
Layer to search.
Return Value
Type: RhinoObjectArray of objects that belong to the specified group or null if no objects could be found.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14