RhinoCommon API
ManifestTableFindNameT Method (String, Guid) |
Uses the name to find a model component.
The name is the value that is stored in the .Name property.
Deleted objects have no name.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public T FindName<T>( string name, Guid parent ) where T : ModelComponent
Public Function FindName(Of T As ModelComponent) ( name As String, parent As Guid ) As T
Parameters
- name
- Type: SystemString
Name of model component to search for. - parent
- Type: SystemGuid
Parent object id. This is only required for layers.
Type Parameters
- T
- The type, derived from ModelComponent. Cannot be ModelComponent itself.
Return Value
Type: TReference to the rhino object or null if no such object could be found.

Rhino for Windows
Supported in: 6.14