<div dir="ltr">Mohammed,<div><br></div><div>There is a bug in this filter that requires you to set the output data type to the desired type to vtkTable before the first time you click Apply. Changing it after clicking Apply currently doesn't work.</div><div><br></div><div>See if that works around the problem.</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 5:17 PM, Mohammed Babiker <span dir="ltr"><<a href="mailto:en.mhdbabiker@gmail.com" target="_blank">en.mhdbabiker@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 lang="EN-US"><div class="m_4774905973693816101WordSection1"><p class="MsoNormal">Good evening Paraview-Help</p><p class="MsoNormal">I tried to run the script in Paraview guide chapter fourteen (Teaser) page 175 I used first source sphere then the filter elevation and then programmable filter and then I paste the script bellow in script part:<u></u><u></u></p><pre style="margin-top:9.0pt"><b><span style="color:green">from</span></b> <b><span style="color:blue">vtk.</span></b> <b><span style="color:blue">numpy_interface</span></b> <b><span style="color:green">import</span></b> dataset_adapter <b><span style="color:green">as</span></b> dsa</pre><pre><b><span style="color:green">from</span></b> <b><span style="color:blue">vtk.</span></b> <b><span style="color:blue">numpy_interface</span></b> <b><span style="color:green">import</span></b> algorithms <b><span style="color:green">as</span></b> algs</pre><pre>data <span style="color:#666666">=</span> inputs [<span style="color:#666666">0</span>]</pre><pre><b><span style="color:green">print</span></b> data<span style="color:#666666">.</span>PointData<span style="color:#666666">.</span>keys ()</pre><pre><b><span style="color:green">print</span></b> data<span style="color:#666666">.</span>PointData[’Elevation ’]</pre><div style="border:none;border-bottom:double windowtext 6.75pt;padding:0in 0in 1.0pt 0in"><p class="MsoNormal" style="border:none;padding:0in">and the rest left default as it was .after hitting run it suppose to get a table as was said in the guide but I got the below error :<u></u><u></u></p></div><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">File "<string>", line 6</span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">print data.PointData[’Elevation ’]</span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">^</span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">SyntaxError: invalid syntax</span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">Traceback (most recent call last):</span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:maroon">File "<string>", line 22, in <module></span></p><div style="border:none;border-bottom:double windowtext 6.75pt;padding:0in 0in 1.0pt 0in"><p style="margin:0in;margin-bottom:.0001pt;border:none;padding:0in"><span style="font-size:8.5pt;font-family:Courier;color:maroon">NameError: name 'RequestData' is not defined</span></p></div><p class="MsoNormal">Then I tried to change the output type to different types (vtktable,vtkpolydata,…etc) and I got different errors.<u></u><u></u></p><p class="MsoNormal">Below attached images contain info. About the version of ParaView and the pipeline scheme (format png).<u></u><u></u></p><p class="MsoNormal">Any help or advice will be greatly appreciated .<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Kind Regards.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Mohammed B. A. Hassan <u></u><u></u></p></div></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="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://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>