[Paraview] Xdmf module in Paraview Python shell

2010-10-15 Thread Nicholas Yue
Hi, I understand that Paraview has Xdmf support. I tried executing the examples from the following link http://www.xdmf.org/index.php/Write_Xdmf the python shell in Paraview says that the Xdmf module is not found. Any ideas ? Regards

Re: [Paraview] Xdmf module in Paraview Python shell

2010-10-16 Thread Eric E. Monson
Hey Nicholas, If you build ParaView with XDMF_WRAP_PYTHON: ON, then the build process should generate _Xdmf.so (or whatever your platform's extension is for python module libraries) in the [build]/bin directory. If that is in your PYTHONPATH, you should be able to substitute "from _Xdmf import