RhinoCommon API
File3dmObjectTableFindByLayer Method (Layer) |
Finds all File3dmObject that are in a given layer.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public File3dmObject[] FindByLayer( Layer layer )
Public Function FindByLayer ( layer As Layer ) As File3dmObject()
Parameters
- layer
- Type: Rhino.DocObjectsLayer
A layer instance.
Return Value
Type: File3dmObjectArray of objects that belong to the specified layer or empty array if no objects could be found.

Exception | Condition |
---|---|
ArgumentNullException | If layer is null. |
