Click or drag to resize

LayerTableFind Method (Guid, Boolean)

Finds a layer with a matching ID.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int Find(
	Guid layerId,
	bool ignoreDeletedLayers
)

Parameters

layerId
Type: SystemGuid
A valid layer ID.
ignoreDeletedLayers
Type: SystemBoolean
If true, deleted layers are not checked.

Return Value

Type: Int32
>=0 index of the layer with the given name -1 no layer has the given name.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Obsolete (compiler warning) in 6.2
See Also