delete all filters without deleting the readers/sources:<br><br>for f in GetSources().values():<br>    if f.GetProperty(&quot;Input&quot;) is not None:<br>        Delete(f)<br><br><br>Pat<br><br><br><div class="gmail_quote">
On Wed, Apr 20, 2011 at 9:49 AM, Fabian Braennstroem <span dir="ltr">&lt;<a href="mailto:f.braennstroem@gmx.de">f.braennstroem@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
I am looking for a way to remove all applied filters from the pipeline except the loaded data (e.g. ensight or openfoam).<br>
<br>
If one know, the filter before, I can do it like this:<br>
<br>
Slice1 = FindSource(&quot;Slice1&quot;)<br>
DataRepresentation3 = GetDisplayProperties(Slice1)<br>
Slice2 = FindSource(&quot;Slice2&quot;)<br>
DataRepresentation4 = GetDisplayProperties(Slice2)<br>
SurfaceVectors1 = GetActiveSource()<br>
DataRepresentation5 = GetDisplayProperties(SurfaceVectors1)<br>
Glyph1 = FindSource(&quot;Glyph1&quot;)<br>
DataRepresentation6 = GetDisplayProperties(Glyph1)<br>
Plane1 = FindSource(&quot;Plane1&quot;)<br>
DataRepresentation7 = GetDisplayProperties(Plane1)<br>
Delete(DataRepresentation7)<br>
Delete(Plane1)<br>
ExtractBlock1 = FindSource(&quot;ExtractBlock1&quot;)<br>
Delete(ExtractBlock1)<br>
Delete(DataRepresentation6)<br>
Delete(Glyph1)<br>
Delete(DataRepresentation5)<br>
Delete(SurfaceVectors1)<br>
Delete(DataRepresentation4)<br>
Delete(Slice2)<br>
Delete(DataRepresentation3)<br>
Delete(Slice1)<br>
<br>
but is there a way to list all applied filters, which then could be delete in the right order?<br>
<br>
Best Regards<br>
Fabian<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>