[Paraview] create python state file with python macro

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Apr 20 09:20:34 EDT 2011


from paraview import smstate
from paraview import smtrace

smstate.run()
state_string =  smtrace.get_trace_string()

Now you can save that state_string anywhere.

Utkarsh


On Wed, Apr 20, 2011 at 5:50 AM, Fabian Braennstroem
<f.braennstroem at gmx.de> wrote:
> Hello,
>
> does anyone know, if it is possible to save the current state as a python
> state-file using a python-macro?
>
> Thanks for the help!
> Fabian
> _______________________________________________
> 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
>


More information about the ParaView mailing list