RhinoCommon API
LayerTableFindName Method (String, Int32) |
Finds the next layer that has an index equal or higher than the searched value.
Search in case-insensitive.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public Layer FindName( string layerName, int startIndex )
Public Function FindName ( layerName As String, startIndex As Integer ) As Layer
Parameters
- layerName
- Type: SystemString
The layer to search for. - startIndex
- Type: SystemInt32
If you specify RhinoMath.UnsetIntIndex, then also default layers will be included. This is the first index that will be tested.
Return Value
Type: LayerA layer, or null.
