<div dir="ltr">Sergey,<div><br></div><div>While Aron is correct about learning how to do Python scripting of the ParaView application via tracing, doing so won't necessarily help you write a Programmable Filter, which operates entirely without knowing that it is executing inside of ParaView. Tracing doesn't record the internal VTK operations that you would need to write in a programmable filter. Instead, it records the ParaView-level execution, which is higher level.</div><div><br></div><div>Someone may help you with the filter if you provide a starting point showing what you tried and describing how it doesn't work. It is much less likely that someone will just write the filter for you.</div><div><br></div><div>Best,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 5, 2017 at 1:19 PM, Aron Helser <span dir="ltr"><<a href="mailto:aron.helser@kitware.com" target="_blank">aron.helser@kitware.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">Sergey,<div>A good way to start writing something in Python is to use the 'start trace' in the Tools menu in ParaView. If you can perform the operation you want with the GUI in ParaView, this will show equivalent Python commands to perform those operations.</div><div>Regards,</div><div>Aron</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Aug 5, 2017 at 4:24 AM, Сергей Михайлов via ParaView <span dir="ltr"><<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div><div class="m_-240611237905992870m_-5463101863944905107js-helper m_-240611237905992870m_-5463101863944905107js-readmsg-msg"><div><div id="m_-240611237905992870m_-5463101863944905107style_15018211700000000911_BODY"><div><div><div><div><div><div><p><span lang="EN-US">Hello</span>!</p><p><span lang="EN-US">We have the following  3D object:<span style="font-size:11.0pt;font-family:'Calibri','sans-serif'"><span style="font-family:arial,helvetica,sans-serif;font-size:15px"> <br><img src="cid:ZRcC@u8A85FCJ.tSHhALul" alt=""><br></span></span></span></p><p><span lang="EN-US">I want to  left cylinder in the center of the object and delete another part of the object. The result of such operation is cylinder.</span></p><p><span lang="EN-US">Help me please write <span style="font-family:Arial,Tahoma,Verdana,sans-serif">a programmable filter (in Python) </span>to perform this modification in the object.</span></p><p><span lang="EN-US"> </span></p><p><span lang="EN-US"> </span></p><p><span style="font-size:10pt;font-family:'Times New Roman',serif" lang="EN-US">Best regards, Sergey</span></p><p> </p>
</div>
            
        
                
        </div>

        
</div>



<br><hr>
</div>
            
        
                
        </div>

        
</div>



<br><hr>
</div>
            
        
                
        </div>

        
</div>



<br><hr></div>
<br></div></div>______________________________<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/opensou<wbr>rce/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/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></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>