Creating representation should not call show
When we are creating a representation, we should not Show(). This should be explicitly done in the trace, if desired. Here is a great discourse discussion, with detail from Cory, on what is going on. https://discourse.paraview.org/t/obtain-information-if-proxy-is-visible/2346/. Note that the user presented a fabulous use case, that I had to slightly change to get to work. Here is what I did:
- 5.7.0, Linux, builtin server.
- Edit user's run.py script as described in discourse. I have attached my edited script here (runAlan.py). Note you will have to edit this, and hard code where your state file is (from the Discourse discussion).
- View/ Python View/ Run Script.
Both Renderviews should not have anything showing, but Renderview 2 will have the fastUniformGrid showing. Further, the print in the run.py will show that we have visibility. This is a bug.