Daniel,

I'm doing the same thing you are in my research. I load a dataset in Ensight format, add calculation filters, slice and export images.

You can integrate ParaView into regular python scripts by changing the interpreter to pvpython. For me, this means replacing:
#!/usr/local/bin/python
with
#!/Applications/paraview.app/Contents/bin/pvpython

Then you can use 'from paraview.simple import *' to access ParaView.

I used the Trace method that Alan suggested, and changed it into a function (eg. 'def paraview_process():'). This way, I can pass the name of the Ensight file to the python script and it automatically loads the data for manipulation.

For saving a screenshot, you should check out this sample script on the wiki:
http://paraview.org/Wiki/Take_a_Screenshot_of_a_VTP_File

Tony

paraview-requ...@paraview.org wrote:
Auto save images
_______________________________________________
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