I have nested foreach loop, looking like that:
First one is set to "fetch piece or point", second is set to "Fetch input"
First one gets geometry, and loops it 4 times, using 'name' attribute, basically looping groups
Second one loops that given group, point by point, and runs pathfinder.
And there I have this 'attribwrabgle10" node with the code:
@myit = detail(1, "iteration");
The result I get is:
Basically, only the last iteration number of the 1st loop gets assigned to the "myit", 200, 249,500 and 1790 based on number of points in each group.
While I expected "myint" to be 0,1,2,3,4,5,6,7,8.... 2739 (1790 + 500 + 200 + 249)
Why is it working like that? How to make sure, that second foreach iteration puts actual iteration number to the wrangle variable?

