[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    [Paraview] VTK Visualization Window hangs when using pvpython.exe
From:       Ted Thompson <tedthompson61 () gmail ! com>
Date:       2010-06-30 15:12:23
Message-ID: AANLkTikIjvSmQX7rbnh3Hp37FOWUnwZ3roE4Y-rBtaFC () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div>I am new to both Python and Paraview...</div>
<div> </div>
<div>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:</div> <div> </div>
<div>import os</div>
<div>import paraview</div>
<div>from paraview.simple import *</div>
<div>from paraview.servermanager import *</div>
<div>Connect()</div>
<div>sph=Sphere()</div>
<div>elev=Elevation(sph)</div>
<div>Show(elev)</div>
<div>Render()</div>
<div> </div>
<div>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.</div>

<div> </div>
<div>When I use the same commands from the Python command window provided by the GUI, \
these commands work fine.</div> <div> </div>
<div>How can I make the pvpython.exe separate window work like the GUI/Python command \
window?</div> <div> </div>
<div>Thanks,</div>
<div> </div><font color="#888888">
<div>Ted Thompson</div>
<div>Huntsville, AL</div></font>



_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic