Reset Session will not Reset your session when in interactive mode with pvpython
ResetSession() command will not do anything when performed in interactive mode via pypython. To duplicate: Using ParaView 5.11.0-RC2, Linux Launch pvpython via the cmd line Enter the following within pvpython:
- from paraview.simple import *
- sphere = Sphere()
- Show()
- Render()
- ResetSession() -- At this point the "Render Window" should be blank or disappear, but the Sphere is still showing.
- box=Box()
- Render() --It shows the box
- Hide(box) -- Sphere is showing again
- Hide(sphere) -- "Render Window" is blank. Good
- Show(sphere) -- "Render Window" shows the Sphere?? It should not even know about the Sphere, because of the ResetSession command
I did try a using both pvbatch and pvpython while using a file as the argument and ResetSession worked fine that way, so this will be a nice to have feature.