RhinoCommon API
File3dmLayerTableFindName Method |
Finds a Layer given its name.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
public Layer FindName( string name, Guid parentId )
Public Function FindName ( name As String, parentId As Guid ) As Layer
Parameters
- name
- Type: SystemString
The name of the Layer to be searched. - parentId
- Type: SystemGuid
The id of the parent Layer to be searched.
Return Value
Type: LayerA Layer, or null on error.