Hello,
I have two list with the same numbers in it. How should I go about sorting the second list so the numbers match?
Attached is the gh file. Thanks in advance
Match numbers.gh (4.8 KB)
Hello,
I have two list with the same numbers in it. How should I go about sorting the second list so the numbers match?
Attached is the gh file. Thanks in advance
Match numbers.gh (4.8 KB)
Can you show us what you need as output?
I am referencing the geometry with elefront and it is reorganizing my list. I then need to tag the geometry with the names. The reason I need my data to match is so I can change the size of the geometry then tag with the correct name.
Does this do what you need? I had to use a python component to do the index search because the vanilla list index search wasn’t working for some reason.
Match numbers.gh (12.0 KB)
You can use the FSim (find similar member) component too:
Match numbers.gh (17.4 KB)
I am unfamiliar with the Find similar Member component.
Thanks for the demo Volker! More appropriate. 'Seems pretty straightforward but for some reason I always struggle with the key/value search
I’d definitely rather look for the actual value, not the most similar ![]()
Does Find similar Member remove items after a hit? Does it find the first instance of the search item in the keys list, or what does “most similar” mean? Does it associate non-equal values?
Grasshopper Help is a disaster. Meanwhile the developers are off doing god knows what.
![]()
I think FSim just finds whatever it thinks is the most similar. I wonder what it does with cat vs dog!
Working on GH2 with better help doc?