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
)
Public Function ItemExists (
path As GH_Path,
index As Integer
) As Boolean
Parameters
- path
- Type: Grasshopper.Kernel.DataGH_Path
Path to test for. - index
- Type: SystemInt32
Item index to test.
Return Value
Type:
BooleanTrue if the specified path exists and contains the specified index.
See Also