Grasshopper

algorithmic modeling for Rhino

All, I may be using the wrong list/tree tools for this...but, any guidance appreciated on how to add two lists (or multiple lists) with each other --by index value, not a mass addition.

For example:

List 1 + List 2 = Combined List

List 1:

1

2

3

4

List 2:

5

6

7

8

Combined list would look like:

1 + 5 = 6

2 + 6 = 8

3 + 7 = 10

4 + 8 = 12

That is:

6

8

10

12

Views: 941

Replies to This Discussion

Is this what you mean?

Tested it out. To add more than one list together, MASS ADDITION does work in place of ADDITION, just have to make sure to GRAFT each list, and then FLATTEN the RESULTS output on the MASS ADDITION.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service