J. Miller Posted February 1, 2016 Share Posted February 1, 2016 Is it possible to create a counter node to keep a running total of integers or real numbers. I am stepping thru a sorted list and would like to know the total of the width of the objects in the list while going thru the list Step 1 = width item (0) = answer 1 Step 2 = width item(0) + width item(1) = answer 2 Step 3 = width item(0) + width item(1) + width item(2) = answer 3 etc, etc working with a width in this case but it could be most anything height area, etc Thanks, Jeff Quote Link to comment
Marionette Maven Marissa Farrell Posted February 2, 2016 Marionette Maven Share Posted February 2, 2016 Jeff, The node "Compound List" in the attached file does what I believe you are looking for. Let me know if I missed something! Marissa Quote Link to comment
J. Miller Posted February 3, 2016 Author Share Posted February 3, 2016 Thank you Marissa, That is what i was looking for. It just reconfirms that i need to learn the python syntax Jeff Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.