[Paraview] how to control paraview from python

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jan 15 09:18:26 EST 2009


You cannot make an external python interpretor or pvpython control an
separate paraview process. To be able to affect ParaView GUI through
python you have to use the python shell provided by the GUI.

Utkarsh

On Wed, Jan 14, 2009 at 7:24 PM, Jorge Mario Mazo
<jmm.mecanica at gmail.com> wrote:
> Hi there
>
> I have a python script that does a lot of stuff to some vrml files, it
> works perfect if its ran from the paraview python shell,
> but when I run it from outside paraview, the script runs, but it does
> not visualizes anything. I dont how to tell python to use the
> "open" paraview.
> I also tried to create a server pvserver, connect my script to that
> server and then I opened paraview and connected it to that server
>
> but I keep getting
>
> "The startup command failed to start ... check your PATH and file permissions"
>
> what should my PATH have?
>
> thanks in advance
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list