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
<[email protected]> 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
>
_______________________________________________
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