I don't have that one available in pvpython. Do I need to enable it somehow?<br><br>Thanks,<br>Paul<br><br><div class="gmail_quote">2009/9/15 pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try changing that to 'XDMFReader2'.<br>
<br>
Pat<br>
<div><div></div><div class="h5"><br>
On Tue, Sep 15, 2009 at 10:17 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am running the same commands in the Python Shell as with pvpython but<br>
> getting different results:<br>
><br>
> Commands<br>
> from paraview.simple import *<br>
> input = XDMFReader( FileName=/path/to/xdmf/file )<br>
> input.UpdatePipeline()<br>
> print input.PointData.GetNumberOfArrays()<br>
><br>
> When executed in the Python Shell I get the correct number of arrays but the<br>
> with pvpython it will return 0.<br>
><br>
> Am I doing anything wrong?<br>
><br>
> Thanks,<br>
> Paul<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</blockquote></div><br>