Hi . I am trying to make a cumulative sum of the list. For example i have a list with numbers 1, 2, 3, 4 and i want to create new list that would be 1, 3, 6, 10 … i searched the internet for python script but nothing has worked in dynamo. <span style=“color: #555555;”> I would like to just set one variable, connect it to the list, and then new variable of new list that i could drag and work with it</span>
I found this on the internet but i cant implement it in dynamo:
Design script will be faster in a player context, as it doesn’t have to spin up the Python engine. That said you’re not likely to see any issues with speed using either setup.