PythonCalculator: {timevalue} and {timeindex} are always 0
Steps to reproduce:
- Launch ParaView, builtin server
- Open
can.ex2
example file - Advance time a few frames so that time value is not 0
- Add a Python Calculator filter with expression
{timeindex}
. Leave other properties at their default values. Apply. - Look at the Information panel. The "result" array will be zero no matter what timestep you are on.
Similar behavior exists for {timevalue:5.2f}
.