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

Reply via email to