Click or drag to resize

File3dmLayerTableFindName Method

Finds a Layer given its name.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
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.
Version Information

Rhino for Windows

Supported in: 6.6
See Also