[Paraview-developers] Possible pvbatch bug?
Pat Marion
pat.marion at kitware.com
Wed Jan 25 15:59:01 EST 2012
Those methods were in pv 3.10, and I think 3.8 as well.
Pat
On Wed, Jan 25, 2012 at 8:45 AM, Paul Melis <paul.melis at sara.nl> wrote:
> Hi Pat,
>
> Thanks for the hints. Are these things that changed recently in PV, or
> was the script I had wrong all along?
>
> Regards,
> Paul
>
> On 01/24/2012 08:02 PM, Pat Marion wrote:
> > Great! The answer is- you were calling methods on the
> > paraview.servermanager module. Instead, you should call the Connect
> > method on paraview.simple. If you are not connecting to a remote
> > server, you may omit the call to Connect().
> >
> > Also, your script still contains a call to sm.CreateRenderViewer().
> > Instead, just call GetRenderView() which will create one if one does not
> > exist.
> >
> > help(GetRenderView())
> >
> > and
> >
> > import paraview.simple
> > help(paraview.simple)
> >
> >
> > Pat
> >
> > On Tue, Jan 24, 2012 at 3:47 AM, Paul Melis <paul.melis at sara.nl
> > <mailto:paul.melis at sara.nl>> wrote:
> >
> > Hi Pat,
> >
> > On 01/23/2012 07:17 PM, Pat Marion wrote:
> > > Do you still get an error if you remove the call to Connect() near
> the
> > > top of the script?
> >
> > Indeed, removing the call to Connect() fixes the crash
> >
> > Paul
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120125/6e16e7ce/attachment.htm>
More information about the Paraview-developers
mailing list