[Paraview] XDMF reader and pvpython

Paul Edwards paul.m.edwards at gmail.com
Tue Sep 15 10:17:56 EDT 2009


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


More information about the ParaView mailing list