<div dir="ltr">Felipe,<div><br></div><div>I can confirm this behavior, and I have filed a bug report here:</div><div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview/issues/17749">https://gitlab.kitware.com/paraview/paraview/issues/17749</a><br></div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 4:06 AM, Felipe Bordeu <span dir="ltr"><<a href="mailto:felipebordeu@gmail.com" target="_blank">felipebordeu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, I'm trying to create a selection using python, but I have a little question<div><br></div><div>I use this script (as a macro)</div><div><br></div><div><div>source = GetActiveSource()</div><div>activeView = GetActiveView()</div><div>props = GetDisplayProperties(source,<wbr>view=activeView)</div><div>fieldtype, arrayname = props.ColorArrayName</div><div>a = paraview.simple._select(<wbr>fieldtype[0:-1], arrayname,source)</div><div>Render()</div><div><br></div><div>this will highlight all the entities (points or cells) with values different form zero in the current view (this work great)</div></div><div><br></div><div>the only problem is that the clear selection icon ("garbage icon") is disable and the only way to clear the selection is to create a new selection (using the mouse) and the clear it using the button.</div><div><br></div><div>Any ideas.</div><div>thanksĀ </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Felipe</div><div><br></div><div><br></div></font></span></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>