algorithmic modeling for Rhino
Guys, Hello...
I have two lists with the same number of branches and the same path structure.
The goal was to keep one as it is (LEFT ONE) to serve as a 'guideline', and possibly change the order from the second one (RIGHT ONE) in a way that the second one indexes, match the first one items. BUT maintain it's structure (and numbers of items/branch)
Any tips guys?
Thanks in advance!
Tags:
hello,
match in what way? for example branch 1;0 with the integers what are its matches from branch 0;0;1?
Hello ng5 Alex,
Sorry if I didn't explain well...
Let's put it in that way. for example:
RIGHT PANEL(guideline) LEFT PANEL(to be reordered)
branch{0;0} (can be simplified) branch{0;0;0} (can be simplified)
item0=607 item0=(result of item of index 607 in this list)
Many thanks!
Hi
Do you want to reorder the right list, for example by sorting it, and let the left list be reordered the same way? In that case you can just use the Sort List node. You plug the right list into K and the left into A. That way both list will be reordered the same way, providing all the corresponding lists are the same lengths.
Hello Guys,
I was reading my reply to ng5 Alex...
Actually, I wrote RIGHT and LEFT changed. So sorry.
But Gediminas Kirdeikis, thanks so much, this was my goal! it worked!
So sorry for the mistake guys, thanks to you all!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by