Click or drag to resize

DataTreeTAdd Method (T, GH_Path)

Add (append) 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 Add(
	T data,
	GH_Path path
)

Parameters

data
Type: T
Data to append.
path
Type: Grasshopper.Kernel.DataGH_Path
Branch path to append to.
See Also