stop pvpython from opening x11 window

Hello,

I have a small inconvenience, while using pvpython with my script when i use the line:
animationScene1.AnimationTime = timeSteps[-1]

even if i dont have anything displayed, the terminal will open a x11 window, how can I stop this window from being created (or if I should not be using animationScene1.AnimationTime = timeSteps[-1] and instead maybe something else? how could I go to a specific timeStep of my simulation without using this line?)

bonus question about another small inconvenience when running my pvpython, i am getting on the begining the following message:

VisRTX 0.1.6, using devices:
0: NVIDIA T600 Laptop GPU (Total: 3.9 GB, Available: 2.6 GB)

is there any way to stop this from being printed? (outside of sending all output to a dummy file?) I have some printing things on the script that would love to keep being printed but would like to remove this lines so it gets less convoluted.

use pvbatch ?

is there any way to stop this from being printed?

I agree this should not be printed, please open an issue.

1 Like

i will use pvbatch, dummy from my side, but could you confirm me if i am missing something or we SHOULD use:

animationScene1.AnimationTime = timeSteps[-1]

and there is no other way to ‘change the current time’ when using paraview(in scripting)? I am asking due to this problem I faced

changing the animation time triggers a render, which opens a window.

yes yes, what I mean is if I should be using something else instead, that changes the timestep which I am 'currently working’ without the rendering.

Ha got it. I dont think this is possible.

1 Like

pvpyhon takes an argument to prevent windows for popping up. --force-offscreen-rendering