Insert a data item to the specified branch in the tree.
If the branch doesn't exist yet, it will be created.
Namespace:
Grasshopper
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void Insert(
T data,
GH_Path path,
int index
)
Public Sub Insert (
data As T,
path As GH_Path,
index As Integer
)
Parameters
- data
- Type: T
Data to insert. - path
- Type: Grasshopper.Kernel.DataGH_Path
Branch path to insert into. - index
- Type: SystemInt32
Insertion index.
See Also