File3dmLayerTableFindName Method |
Finds a Layer given its name.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax 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.
See Also