<div dir="ltr">ParaViewWeb has the capability to do most of those things in python. See here:<div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview/blob/master/Web/Python/paraview/web/protocols.py#L1930">https://gitlab.kitware.com/paraview/paraview/blob/master/Web/Python/paraview/web/protocols.py#L1930</a><br></div><div><br></div><div>for an example of some code which gathers the list of pipeline elements. Then see here:</div><div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview/blob/master/Web/Python/paraview/web/protocols.py#L1801">https://gitlab.kitware.com/paraview/paraview/blob/master/Web/Python/paraview/web/protocols.py#L1801</a><br></div><div><br></div><div>for some example code which reads a state file. That protocols.py file has examples of doing all kinds of things in Python, hopefully it will help you get where you need to be.</div><div><br></div><div>Cheers,</div><div>Scott </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 2:41 AM, lisa kauffmann <span dir="ltr"><<a href="mailto:lisakauffmann@web.de" target="_blank">lisakauffmann@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>Dear ParaViewers,</div>
<div> </div>
<div>I've been working with paraview for a while now but I never tried scripting with Python.</div>
<div>Now my question:</div>
<div>Is there a posibility to list all the names of the elements in my paraview-pipeline with a python script and then write the names into an XML-file? The thing ist I don't want to open paraview for that: I need a function in python that calls my paraview .pvsm-file with all the information about my paraview state.</div>
<div> </div>
<div>The XML-file should look like that (when i have for example filters used in my pipeline):</div>
<div> </div>
<div>- <data></div>
<div>- <displayer></div>
<div><name>Streamlines</name></div>
<div>- </displayer></div>
<div>- <displayer></div>
<div><name>Slice</name></div>
<div></data></div>
<div> </div>
<div>Thank You,</div>
<div> </div>
<div>namali92</div></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>