Click or drag to resize

DataTreeTEnsurePath Method (GH_Path)

Create a new branch with the specified path if it doesn't already exists.

Namespace:  Grasshopper
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public List<T> EnsurePath(
	GH_Path path
)

Parameters

path
Type: Grasshopper.Kernel.DataGH_Path
Path of the branch to ensure.

Return Value

Type: ListT
The list that belongs to the specified path.
See Also