Can PyFlux doing For Loop?

Hi, I am thinking to code a post postcessing pyFlux code.
It need to be extrating 3D surface plot data and write into individual excel file with different time step.
Wondering if this is possible?


Hello Jerome,
Yes you can use the for cycle.
From what I see from the image you shared, the problem could be the the syntax; indentation is required for the code lines in the loop.
You can find two very useful documents and more info in the Flux help, available from the supervisor, clicking on the question mark button at the top right (see image attached).
Regards,
Letizia


Hello Jerome,
Yes you can use the for cycle.
From what I see from the image you shared, the problem could be the the syntax; indentation is required for the code lines in the loop.
You can find two very useful documents and more info in the Flux help, available from the supervisor, clicking on the question mark button at the top right (see image attached).
Regards,
Letizia
For example, I have try to introduce a term to sequentially change the time step.
I got this error.