GH_Structure(T).Graft Method (GH_GraftMode, GH_Path)

GH_StructureTGraft Method (GH_GraftMode, GH_Path)

Grafts a specific path by reallocating all data into child paths. If a grafted path coincides with an existing path, the data item in question will be appended to the existing path.

Namespace:  Grasshopper.Kernel.Data
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void Graft(
	GH_GraftMode mode,
	GH_Path path
)
Public Sub Graft ( 
	mode As GH_GraftMode,
	path As GH_Path
)

Parameters

mode
Type: Grasshopper.Kernel.DataGH_GraftMode
Graft mode.
path
Type: Grasshopper.Kernel.DataGH_Path
Path to graft

Implements

IGH_StructureGraft(GH_GraftMode, GH_Path)
See Also