generative modeling for Rhino
Has anyone else noticed that the item index component isn't working? I feed it a list of numbers and one of the values, and wanting to know the index of that number in the list, and it keeps returning a -1 or item not found. But the list is correct and so is the number... Thoughts or a workaround?
List Index works on the memory location of the item not the value. you have to supply the item from the original list to find the correct index.
Try to use the Find Similar component in the Sets Tab > Sets Panel
have a read of this for more explanation: http://www.grasshopper3d.com/forum/topics/list-index