Click or drag to resize

LayerTableFindByFullPath Method (String, Int32)

Searches for a layer using the fully qualified name, that includes ancestors.

Deleted layers have no name.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int FindByFullPath(
	string layerPath,
	int notFoundReturnValue


Type: SystemString
The full layer name.
Type: SystemInt32
Should be -1 to get the index of the OpenNURBS default layer, or UnsetIntIndex to get an always-out-of-bound value.

Return Value

Type: Int32
The index of the found layer, or notFoundReturnValue.
Version Information

Rhino for Windows

Supported in: 6.20
See Also