In version 5.4.1 of paraview, when launching paraview (GUI) with a python script input, the python script variables are available within paraview’s python shell. This is an extremely cool feature, especially for debugging scripts interactively.
In every newer version, this isn’t the case; opening the python shell (or clicking on it, if it’s visible by default) opens a fresh shell which no longer has access to the script variables.
If there any way to enable the behavior from 5.4.1?
As an example, you can run the following python script, and then manually type “a” into the python shell. In 5.4.1, you’ll see a=2. In 5.7.0, you get “NameError: name ‘a’ is not defined”
a = 2
b = 2