Those methods were in pv 3.10, and I think 3.8 as well.<br><br>Pat<br><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 8:45 AM, Paul Melis <span dir="ltr"><<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Pat,<br>
<br>
Thanks for the hints. Are these things that changed recently in PV, or<br>
was the script I had wrong all along?<br>
<br>
Regards,<br>
Paul<br>
<div class="im HOEnZb"><br>
On 01/24/2012 08:02 PM, Pat Marion wrote:<br>
> Great! The answer is- you were calling methods on the<br>
> paraview.servermanager module. Instead, you should call the Connect<br>
> method on paraview.simple. If you are not connecting to a remote<br>
> server, you may omit the call to Connect().<br>
><br>
> Also, your script still contains a call to sm.CreateRenderViewer().<br>
> Instead, just call GetRenderView() which will create one if one does not<br>
> exist.<br>
><br>
> help(GetRenderView())<br>
><br>
> and<br>
><br>
> import paraview.simple<br>
> help(paraview.simple)<br>
><br>
><br>
> Pat<br>
><br>
> On Tue, Jan 24, 2012 at 3:47 AM, Paul Melis <<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a><br>
</div><div class="HOEnZb"><div class="h5">> <mailto:<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a>>> wrote:<br>
><br>
> Hi Pat,<br>
><br>
> On 01/23/2012 07:17 PM, Pat Marion wrote:<br>
> > Do you still get an error if you remove the call to Connect() near the<br>
> > top of the script?<br>
><br>
> Indeed, removing the call to Connect() fixes the crash<br>
><br>
> Paul<br>
><br>
><br>
<br>
</div></div></blockquote></div><br>