DataTree(T).Graft Method (GH_Path, Boolean)

DataTreeTGraft Method (GH_Path, Boolean)

Graft a single path in the tree. "Grafting" means appending a new branch for every item in an existing branch.

Namespace:  Grasshopper
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void Graft(
	GH_Path path,
	bool skip_nulls = false
)
Public Sub Graft ( 
	path As GH_Path,
	Optional skip_nulls As Boolean = false
)

Parameters

path
Type: Grasshopper.Kernel.DataGH_Path
Path to graft.
skip_nulls (Optional)
Type: SystemBoolean
If true, null items in the grafted path will not be included in the new tree.
See Also