I probably don’t understand data structure in dynamo yet (second day using it). I ran into a problem though, I cannot seem to get item index from anything except a very simple list. A list with an additional data tree breaks the getItemIndex component, causing it to error “Index out of range”. I believe that the index is in range however, and I am misunderstanding something. Please advise! How would you go about using this component in this situation? I would like to get the items with the indexes below from the list above. Thank you for your time.
Revit and script file are available here: https://www.dropbox.com/sh/gibeh1rxadmj7a5/AABoQxLXrBcg3es3GAHKKSPma?dl=0 (forum won’t let me upload as I am a new user)
I also read this, and seems relevant: