algorithmic modeling for Rhino
Well I was able to get it to work with Member Index component,but still don't know why the Index component didn't work.
It will be work if you choose or separate the element(s) anyway from ORIGINAL list.....
Index it can only find the object with same ID, but actully, you new 40.0 is not the same ID object as 40.0 in the list. What you need to use is the component find similar.
Yeah I can get it work by extracting 40.0 from the list and using the index component on that element. Thanks
Dennis
To elaborate a bit more, the [Find Similar] component performs value comparisons whereas the [Item Index] component performs address comparisons.
Benefits of Find Similar:
Benefits of Item Index:
Basically the only times you need [Item Index] is if you've performed some sort of complicated operation on your data and you need to reverse engineer the permutations. [Item Index] allows you to create a mapping table from data in some modified collection to data in some unmodified collection, only presuming it is the exact same data.
--
David Rutten
david@mcneel.com
Tirol, Austria
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by