Have a list of z values and would like to add integer to each list item

unhandled

(Marcus) #1

So I have a bunch of point that currently have different x any y values but the same z values.
I used the pDecon to get the individual values.
I would like to be able to add an integer to the z value so that it goes from this:
200
200
200
200
to:
200
Previous number + 2 (202)
Previous number + 2 (204)
Previous number + 2 (206)
Previous number + 2 (208)
etc

Does anyone have an idea?


#2


(Marcus) #3

Worked perfectly! Thank you!


(Andrew Jinho AHN) #4

sorry this is out of topic question but how did you get name of each component to appear on top?


(Michael Pryor) #5

(Andrew Jinho AHN) #6

this is a revolution in grasshopper teaching!! Why didn’t I know this…