RhinoCommon API
LightTableFindName Method |
Finds the LightObject with a given name.
Deleted lights have no name.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public LightObject FindName( string name )
Public Function FindName ( name As String ) As LightObject
Parameters
- name
- Type: SystemString
Name to search.
Return Value
Type: LightObjectA layer. If no layer is found, null is returned.

Rhino for Windows
Supported in: 6.14