filters not being updated when using pvpython?

okey, some debugying…..

I feel like it is a bug of paraview as in another section of my code I keep track of the evolution of one specific line by looping over time (for t in timeSteps:) steps and using animationScene1.AnimationTime = t

and in that case it works for the two situations (pvpython and python console)

and if instead of using animationScene1.GoToLast() i instead use animationScene1.AnimationTime = timeSteps[-1] the script works as intended.

for info the timeSteps i got them by using timeSteps=simfoam.TimestepValues

maybe I should run something ‘else’ so animationScene1.GoToLast() works? outside of what I mentionned before:

animationScene1 = GetAnimationScene()
animationScene1.UpdateAnimationUsingDataTimeSteps()