Re: [Paraview] Write and read a vtk file (in python)

2010-06-08 Thread Jérôme Plumecoq
Hello, Thank you Eric : now I can read my datas with a ProgrammableSource, and display them. But I would like to create a ProgrammableSource in a python script, and I have this error when I try to set the InformationScript (which is necessary to display the datas) attribute : Traceback

Re: [Paraview] Write and read a vtk file (in python)

2010-06-08 Thread Jérôme Plumecoq
Ok in fact the good attribute name is : ScriptRequestInformation Le 08/06/2010 14:18, Jrme Plumecoq a crit: Hello, Thank you Eric : now I can read my datas with a ProgrammableSource, and display them. But I would like to create a ProgrammableSource in a python script, and I have

Re: [Paraview] Write and read a vtk file (in python)

2010-06-07 Thread Jérôme Plumecoq
Hello, it doesn't fix the problem for me, but perhaps it is because I don't use version 4.6 of Qt... But if I set the locale in the python script before writing the vtk file in ASCII, it works fine. Thank you ! Jrme Le 04/06/2010 16:15, Utkarsh Ayachit a crit: I've committed a fix.

Re: [Paraview] Write and read a vtk file (in python)

2010-06-07 Thread Eric E. Monson
Hey Jérôme, Yes, you can use the Python Programmable Source as a reader. There are some examples on these two pages, in case you haven't seen them: http://www.paraview.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters

Re: [Paraview] Write and read a vtk file (in python)

2010-06-04 Thread Utkarsh Ayachit
It should now affect all paraview executables. commit cd1b14208b79b8c7773c4bbc10eaf25c680b65c5 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Fri Jun 4 13:51:23 2010 -0400 setlocale to avoid locale related numeric issues. This now affects all executables, not merely