<div dir="ltr"><div>hmm, should show up in the output messages window and on the console. Start paraview from a command line to see the console. </div><div><br></div><div>Agreed on the need for an example.<br></div><div><br>

<div>p.s. Please "reply all" to keep the discussion on the list so everyone can contribute and benefit (or consider a kitware support contract).</div></div><div><br></div></div><div class="gmail_extra"><br clear="all">

<div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Tue, Aug 5, 2014 at 2:26 PM, Dennis Conklin <span dir="ltr"><<a href="mailto:dennis_conklin@goodyear.com" target="_blank">dennis_conklin@goodyear.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" style="font-size:14pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>David,<br>
</p>
<p><br>
</p>
<p>The : did not make it work.   I hate to be a complete newby, but where would a Programmable filter print if a Programmable filter has a debugging print?   I'm not getting anything in the Output Messages window.<br>


</p>
<p><br>
</p>
<p>Thanks  I feel like a good multi-dataset CellData example is needed in the wiki - I have a PointData filter working.<br>
</p><div class="">
<p>​<br>
</p>
<div>
<div name="divtagdefaultwrapper">
Dennis Conklin, PE<br>
RDE&Q Senior Engineer<br>
Goodyear Innovation Center, 5th Floor South, Pillar M34<br>
Phone:  <a href="tel:330-796-5701" value="+13307965701" target="_blank">330-796-5701</a><br>
Email:  <a href="mailto:dennis_conklin@goodyear.com" target="_blank">dennis_conklin@goodyear.com</a><br>
</div>
</div>
</div><div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><div class=""><b>From:</b> David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>><br>


</div><b>Sent:</b> Tuesday, August 05, 2014 2:03 PM<br>
<b>To:</b> Dennis Conklin<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Help with Programmable Filter</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14pt">   for i in range(block.GetNumberOfCells()</span><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:14pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div>      sigma = numpy.array([ [xx[i],xy[i],xz[i]],</div>
<div>                            [xy[i],yy[i],yz[i]],</div>
<div>                            [xz[i],yz[i],zz[i]]</div>
<div>                         ])</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Missing a ":" here maybe?</div>
<div><br>
</div>
<div>Try some print debugging to see what is really happening.</div>
<div><br>
</div>
<div>Also, I recommend using an external editor and copy/pasting the code in or execfile("yourfile.py")'ing to develop for the programmable filter. It's QtTextWidget is a tad deficient as an IDE. :)</div>


<div><br>
</div>
<div>If not the ":" let us know and we can look further.</div>
<div><br>
</div>
<div> </div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>