[Paraview] VTK Visualization Window hangs when using pvpython.exe window

Ted Thompson tedthompson61 at gmail.com
Wed Jun 30 11:12:23 EDT 2010


I am new to both Python and Paraview...

In a Windows environment, Paraview 3.8, I want to be able to plot 3d images
in a separate paraview window (not using the paraview GUI). When using the
pvpython.exe Python window and the following commands:

import os
import paraview
from paraview.simple import *
from paraview.servermanager import *
Connect()
sph=Sphere()
elev=Elevation(sph)
Show(elev)
Render()

This creates a new window and renders a sphere, but the window locks up and
I get an hourglass whenever the mouse pointer is inside the plot window. The
only way to get rid of the plot is to kill my pvpython.exe window.

When I use the same commands from the Python command window provided by the
GUI, these commands work fine.

How can I make the pvpython.exe separate window work like the GUI/Python
command window?

Thanks,

Ted Thompson
Huntsville, AL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100630/fa692e5d/attachment.htm>


More information about the ParaView mailing list