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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to