Grasshopper API
IGH_DataAccessGetDataT Method (Int32, T) |
Retrieve data from an input parameter during GH_Component.SolveInstance().
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

bool GetData<T>( int index, ref T destination )
Function GetData(Of T) ( index As Integer, ByRef destination As T ) As Boolean
Parameters
- index
- Type: SystemInt32
- destination
- Type: T
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.
