[Paraview] New feature- python save state

pat marion pat.marion at kitware.com
Fri Oct 9 16:41:03 EDT 2009


A new feature is available- save state as a python script.  It is
still under development but it can be found in cvs.

The feature is available in the Trace tab of the python shell.  Click
the button 'Trace State' to grab the state, then click 'Save Trace' to
save it.  Then you can go to the Directory View tab, select the
script, and click 'Run Selected'.  If you find a way to build a
pipeline that isn't captured correctly by save state, let me know!
Usually it's an error in the way servermanager wraps a property.


It even kind of works for chart views but there are a few bugs that
must be hand corrected, for example:

chart_rep.AttributeType = 'Point Data'
   must be changed to
chart_rep.AttributeType = 0


Pat


More information about the ParaView mailing list