Click or drag to resize

GH_StructureTEnsurePath Method (GH_Path)

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

Namespace:  Grasshopper.Kernel.Data
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