insert serial progression by 10

hi there

i made a workflow where everything works, but i cannot find a node that allows me to insert a column which mark every string with a progressive by 10

for example first row is 10, second row is 20, third row is 30…tenth row is 100 eleventh row is 110…

do you suggest any node that could help me? i post an example

x output
e1 10
e2 20
e3 30
e4 40
e5 50
e6 60
e7 70
e8 80
e9 90
e10 100
e11 110
e12 120
e13 130
e14 140
e15 150
e16 160
e17 170
e18 180
e19 190
e20 200
e21 210
e22 220
e23 230
e24 240
e25 250
e26 260
e27 270
e28 280
e29 290
e30 300
e31 310
…… ……

Hi @Pippobaudo89

Take a look at the Counter Generator node.


gr. Hans

7 Likes

Hi @Pippobaudo89 , @HansS 's solution is clearly the solution for this question, but just thought I’d add that if you had any kind of mathematical progression, you can always use Math Formula by calculating using ROWINDEX (which starts at 0)

e.g.
1,2,3,4,…
($$ROWINDEX$$ +1)

10,20,30,40…
($$ROWINDEX$$ +1) * 10

1,4,9,16,25,36,49…
($$ROWINDEX$$ +1) ^2

(and sometimes I use Math Formula instead of Counter Generation if I need several counters just because it allows me to name the counter :slight_smile: )

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.