[Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Hello everybody, I've been using Paraview for quite a long time but I didn't need the python scripting up to now. I want to execute a series of plot over line in numerous points and different time steps so it is nothing I can afford to do manually. Looking on the net I was able to find out how to

Re: [Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Andy Bauer
If you're running the python script in the paraview gui sometimes the messages are printed out to the python shell. What version of paraview are you using? I'm running paraview from the head of the repo. The output I get from the OutputMessages window is: ERROR: In /home/acbaue

Re: [Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Andy, thank you for your quick reply. I am using Paraview 3.8.0 which is the latest binary in the Ubuntu repos. I chose to install that without compiling from source as I was rushing (I know, it sounds weird... but). Do you believe that the problem is build-related? However, reading the errors t

Re: [Paraview] Plot over line CSV export python script not working

2011-09-29 Thread Luca Giannelli
Ok, I moved on a little. Reading the output of the error reported in the previous mail, it says that it cannot find "XArrayName". Looking the original script you can see that it is needed for the definition of the plot area properties in the GUI I don't need it as I only want a csv file, s

Re: [Paraview] Plot over line CSV export python script not working

2011-09-30 Thread Andy Bauer
I think the first problem is that there isn't an active source. The GetActiveSource() is returning None and when you create subsequent filters that automatically connect to the active source it causes problems when you try to execute the pipeline. Something along the lines of below should get you

Re: [Paraview] Plot over line CSV export python script not working

2011-10-02 Thread Luca Giannelli
Thank you very much Andy, with your precious help I have been able to find out a working solution for what I need. I foud out the the original script is completly functional without any modification the only BIG ISSUE was the the Paraview binaries provided by the Ubuntu Repositories do not pro