Click or drag to resize

DataTreeTInsert Method

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
)

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