Counter variable in Loop macro

Hello,

I don't understand how to access to a counter variable created in a loop macro.

I would like to throw it to a switch macro but the only way I found to access this variable is doing node.counterVariable. Doing this I've got the error "operation is not applicable"...

Can someone help me ?

Thanks,

Robin

 

2 comments
Comment actions Permalink
Official comment

Please, use "genContext.counterVariable"

Vaclav

Please sign in to leave a comment.