IGH_DataAccessGetDataListT Method (Int32, ListT) |
Retrieve an entire list of data from an input parameter during GH_Component.SolveInstance().
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax bool GetDataList<T>(
int index,
List<T> list
)
Function GetDataList(Of T) (
index As Integer,
list As List(Of T)
) As Boolean
Parameters
- index
- Type: SystemInt32
- list
- Type: System.Collections.GenericListT
Type Parameters
- T
- Type of the data to retrieve.
If the data type does not match the parameter type,
a conversion will be attempted.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also