I don&#39;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">&lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;</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 &#39;XDMFReader2&#39;.<br>
<br>
Pat<br>
<div><div></div><div class="h5"><br>
On Tue, Sep 15, 2009 at 10:17 AM, Paul Edwards &lt;<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am running the same commands in the Python Shell as with pvpython but<br>
&gt; getting different results:<br>
&gt;<br>
&gt; Commands<br>
&gt; from paraview.simple import *<br>
&gt; input = XDMFReader( FileName=/path/to/xdmf/file )<br>
&gt; input.UpdatePipeline()<br>
&gt; print input.PointData.GetNumberOfArrays()<br>
&gt;<br>
&gt; When executed in the Python Shell I get the correct number of arrays but the<br>
&gt; with pvpython it will return 0.<br>
&gt;<br>
&gt; Am I doing anything wrong?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Paul<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>