[Paraview] Re: Python interface differences between ParaView 2.6 and ParaView III

Milan Frank milan.frank at gmail.com
Thu Feb 15 04:31:32 EST 2007


Hi Fabian,

you are right, you have to switch on the ParaView embed Python
support. It is the PARAVIEW_WRAP_PYTHON cmake constant (in PV 2.6).
Then it is necessary to use the pvpython.exe as the python
interpreter. The wiki example should work ;-)

Good luck!
Milan.


On 14/02/07, Fabian Braennstroem <f.braennstroem at gmx.de> wrote:
> Hi Milan,
>
> I am actually interested in using python together with paraview too;
> unfortunately I was not able to run any small python example until
> now (by the way, the only example I found was the small example for
> version III on the wiki).I looks like that I have to compile
> paraview for using python; at least I could not find it in the
> latest snapshot an in  2.6. Do you have any hints about using python
> together with paraview? Maybe, you got some small understandable
> examples?
> Would be nice!
> Fabian
>
> Milan Frank schrieb am 02/13/2007 05:46 PM:
> > Hi all,
> >
> > recently I have tested my Python script with ParaView 3 executive. The
> > script has been developed with Python interface of ParaView 2.6.
> >
> > So far, I have noticed several changes in the interface (from 2.6 to 2.9) :
> > 1) I was in need to explicitly specify render interactor style (there
> > is no longer a default one).
> > 2) UpdateDataInformation method is no longer part of the vtkSMSourceProxy.
> > 3) I am getting "RenderModuleHelper not set" error from vtkSMLODDisplayProxy.
> >
> > At this point I have stopped my experiments and decided to post my question.
> >
> > Is now the right time to migrate to the ParaView 3?
> >
> > I guess there is several more things different. So it will cost me not
> > negligible effort to accommodate my code to the changes. I am
> > concerned about the amount of modification most likely to happen in
> > the near future in the server manager part (and its python interface)
> > of ParaView 3.
> >
> > Any hints will be appreciated as they will help me to plan my work better.
> >
> > Thanks,
> > Milan
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list