Click or drag to resize

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)
Syntax
public int FindObjects(
	string[] terms,
	int maximumResults,
	ref IGH_ObjectProxy[] results,
	ref double[] resultWeights
)

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: Int32
A sorted list of search results.
See Also