Grasshopper

algorithmic modeling for Rhino

Hej all!

I am stuck on problem that might be very basic, but I cannot seem to find one that is working good. 

I would like to know how I can sum values from different branches. What I have is 2 branches with 5 values in each (but they can as well be many more branches and values). So I what I want is to make a list with one branch where the values for "1", "2", etc. from both branches will be summer up. 

The attached picture show how it is done by exporting the values to excel and then importing them back to GH. However, I am looking for a more flexible way to do that.

Please share some suggestions

Mihail

Views: 3008

Attachments:

Replies to This Discussion

hope this one can help you

Raul

Attachments:

hello Mihail, Raul,

for more than 2 branches you can use [flip matrix] and [mass addition] (and flatten the final output):

thank you nikos :-)

Thanks Raul and Nikos for the help! 

It works like a charm. I did not think of the Flip Matrix at all....

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service