IGH_DataAccessGetDataTreeT Method (Int32, GH_StructureT) |
Retrieve an entire data tree from an input parameter during GH_Component.SolveInstance().
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax bool GetDataTree<T>(
int index,
out GH_Structure<T> tree
)
where T : IGH_Goo
Function GetDataTree(Of T As IGH_Goo) (
index As Integer,
<OutAttribute> ByRef tree As GH_Structure(Of T)
) As Boolean
Parameters
- index
- Type: SystemInt32
- tree
- Type: Grasshopper.Kernel.DataGH_StructureT
Type Parameters
- T
- Type of the data to retrieve. Must be identical to the type stored in the parameter.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also