<div dir="ltr"><div><div><div><div>Hmm, I&#39;m not sure this is the proper way to do it since I get a warning but it appears to work:<br></div>a = GetActiveSource() # requires a leaf of the pipeline tree to be selected<br>
</div>Delete(a)<br><br></div>The warning I get is:<br><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:rgb(128,0,0)">ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\ParaViewCore\ServerManager\Core\vtkSMProxyListDomain.cxx, line 189</span>
<p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:rgb(128,0,0)">vtkSMProxyListDomain (0000000012E46ED0): Index 2 greater than max 1</span></p><p style="margin:0px;text-indent:0px">
<br><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:rgb(128,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:8.25pt;color:rgb(128,0,0)"><span style="color:rgb(0,0,0)">Somewhere in the Python API there&#39;s a method to get the filter proxy by name but I don&#39;t remember that off the top of my head. If this doesn&#39;t work for you, Utkarsh probably has a better way :)</span><br>
</span></p><br></div>Andy<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 8:04 PM, Scott, W Alan <span dir="ltr">&lt;<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I have a user that is trying to delete all of the entries in the pipeline browser, in a python script.  I tried using the trace recorder, and that didn&#39;t work.  Does anyone have any idea what command would do this?<br>

<br>
Thanks,<br>
<br>
Alan<br>
<br>
<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></div>