Click or drag to resize

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
)

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: Layer
A Layer, or null on error.
See Also