[Paraview] XDMF reader and pvpython

Paul Edwards paul.m.edwards at gmail.com
Tue Sep 15 12:27:02 EDT 2009


I don't have that one available in pvpython.  Do I need to enable it
somehow?

Thanks,
Paul

2009/9/15 pat marion <pat.marion at kitware.com>

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090915/c17938fb/attachment.htm>


More information about the ParaView mailing list