[Paraview] How to add plug-in's parameters to ParaView state file

Nenad Vujicic nenadus at gmail.com
Mon Jan 3 15:13:29 EST 2011


Dear Utkarsh,

On Mon, Jan 3, 2011 at 2:30 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Every time SaveState is called in the ParaView GUI, pqApplicationCore
> singleton fires a signal "stateSaved(vtkPVXMLElement*)". Your code can
> handle this signal to add new child XML elements to the root.
> Similarly, there's a stateLoadeded(...) signal that gets fired that
> you can handle to load the custom elements from the state xml.
>

Thank You very much on Your suggestion. It works perfectly. Is there
also some easy solution when working with pvpython and pvbatch clients
or I should add Python parsing code to servermanager.py
(servermanager::LoadState())?

Thanks,
Nenad.


More information about the ParaView mailing list