[Paraview] XDMF reader and pvpython
pat marion
pat.marion at kitware.com
Tue Sep 15 12:14:07 EDT 2009
Try changing that to 'XDMFReader2'.
Pat
On Tue, Sep 15, 2009 at 10:17 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Hi,
>
> I am running the same commands in the Python Shell as with pvpython but
> getting different results:
>
> Commands
> from paraview.simple import *
> input = XDMFReader( FileName=/path/to/xdmf/file )
> input.UpdatePipeline()
> print input.PointData.GetNumberOfArrays()
>
> When executed in the Python Shell I get the correct number of arrays but the
> with pvpython it will return 0.
>
> Am I doing anything wrong?
>
> Thanks,
> Paul
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list