GH_DocumentFindObjects Method |
Find the objects in the document that match the search term.
Top level object names and nicknames are searched, as well as descriptions.
Some objects are special cased to allow for more targeted searches.
Data descriptions are not searched.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic List<IGH_DocumentObject> FindObjects(
List<string> keys,
int maxCount
)
Public Function FindObjects (
keys As List(Of String),
maxCount As Integer
) As List(Of IGH_DocumentObject)
Parameters
- keys
- Type: System.Collections.GenericListString
- maxCount
- Type: SystemInt32
Return Value
Type:
ListIGH_DocumentObject
See Also