Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

List
Sequence
Sets
Text
Tree

Retrieve the index of a certain item in a list.

Inputs

NameIDDescriptionType
ListLList to searchGeneric Data
ItemiItem to search forGeneric Data

Outputs

NameIDDescriptionType
IndexiThe index of item in the list, or -1 if the item could not be found.Integer

Site design © Robin Rodricks.   Grasshopper Sets and associated data © 2022 Robert McNeel & Associates.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service