Click or drag to resize

IGH_DataAccessSetDataList Method (Int32, IEnumerable, Int32)

Expert user function. Stores a list of data in an output parameter during GH_Component.SolveInstance().

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
bool SetDataList(
	int paramIndex,
	IEnumerable data,
	int listIndexOverride
)

Parameters

paramIndex
Type: SystemInt32
Index of the output parameter at which to store the list.
data
Type: System.CollectionsIEnumerable
Data to store. Data will be converted if necessary, but it will not be duplicated automatically.
listIndexOverride
Type: SystemInt32
Typically the branch index is a result of Data matching logic. If you want to override the branch index, then call this function.

Return Value

Type: Boolean
See Also