Grasshopper API
GH_ComponentServerFindObjects Method (String, Int32, IGH_ObjectProxy, Double) |
Searches the list of cached object proxies for objects that might be implied by a search term.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public int FindObjects( string[] terms, int maximumResults, ref IGH_ObjectProxy[] results, ref double[] resultWeights )
Public Function FindObjects ( terms As String(), maximumResults As Integer, ByRef results As IGH_ObjectProxy(), ByRef resultWeights As Double() ) As Integer
Parameters
- terms
- Type: SystemString
Search terms to use. - maximumResults
- Type: SystemInt32
Maximum number of allowed hits. - results
- Type: Grasshopper.KernelIGH_ObjectProxy
- resultWeights
- Type: SystemDouble
Return Value
Type: Int32A sorted list of search results.
