Script Eval
The task "Eval code" lets you enter python code directly.
Script data
Script will be evaluated and executed on the target render node, and will access to context like any other task.
Call iteration
Version 4.2 introduces the iteration port to the "Eval code" task. To use this port you need to use the call iteration function in a loop like so :
for o in range(10):
task.call_iteration_port({"some_value": f"Value {o}"})
It will appear in the auto-complete when you type things like call
or task
for example so no need to worry about forgetting how to write it.