LayerTableFind Method (Guid, Boolean) |
Finds a layer with a matching ID.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic int Find(
Guid layerId,
bool ignoreDeletedLayers
)
Public Function Find (
layerId As Guid,
ignoreDeletedLayers As Boolean
) As Integer
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 InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Obsolete (compiler warning) in 6.8
See Also