LayerTableFindByFullPath Method |
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)
Since: 6.0
Syntax public int FindByFullPath(
string layerPath,
int notFoundReturnValue
)
Public Function FindByFullPath (
layerPath As String,
notFoundReturnValue As Integer
) As Integer
Parameters
- layerPath
- Type: SystemString
The full layer name. - notFoundReturnValue
- 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:
Int32The index of the found layer, or notFoundReturnValue.
See Also