Click or drag to resize

DataTreeTItemExists Method

Test if the specified path + item index are defined inside the tree.

Namespace:  Grasshopper
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public bool ItemExists(
	GH_Path path,
	int index
)

Parameters

path
Type: Grasshopper.Kernel.DataGH_Path
Path to test for.
index
Type: SystemInt32
Item index to test.

Return Value

Type: Boolean
True if the specified path exists and contains the specified index.
See Also