[Paraview] load state from python

Favre Jean jfavre at cscs.ch
Wed May 18 08:11:05 EDT 2011



GetRenderView() actually creates a second view, and it is empty. That is what you see being rendered.

to get the existing view after reloading your state, I suggest using

SetActiveView(GetRenderViews()[0])
Render()

and you will get your cone and your sphere.

-----------------
Jean M. Favre
Swiss National Supercomputing Center






More information about the ParaView mailing list