NamedLayerStateTable.FindName Method

NamedLayerStateTableFindName Method

Returns the index of an existing named layer state.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int FindName(
	string name
)
Public Function FindName ( 
	name As String
) As Integer

Parameters

name
Type: SystemString
The name of the layer state.

Return Value

Type: Int32
>0 if successful, -1 if not found.
Version Information

Rhino for Windows

Supported in: 6.14
See Also