algorithmic modeling for Rhino
Hi all,
This may sound like a dozen other similar queries, but I haven't been able to find anything quite the same. I have two lists of arbitrary length, and a tree of boolean values. I'd like to replace each element in the tree with a copy of the corresponding list like so:
L1
(0) 'A'
(1) 'B'
L2
(0) 'C'
(1) 'D'
T
{0;1}(0) True
{0;2}(0) True
{1;0}(0) False
Desired Result
{0;1}
(0) 'A'
(1) 'B'
{0;2}
(0) 'A'
(1) 'B'
{1;0}
(0) 'C'
(1) 'D'
Any thoughts? This feels like it should be easy, but I can't figure out anything. Thanks!
Trygve
Tags:
Yeah, I was using letters for clarity, but the problem came up with lists of points. Since the version number of 1.0 is still 0.9, it seems 2.0 might be a ways off? Anyways, thanks for the reply.
Oh right! Groups! Ok, well, that will help for now. Thanks!
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