<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Dear Cory,</p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 6.75pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'>Thanks for your quick respond, I did what you said but a gain I got error massage  as shown below </p></div><div><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 809</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>vtkPVDataRepresentationPipeline (0000024B59BAEEC0): Input for connection index 0 on input port index 0 for algorithm vtkGeometryRepresentationWithFaces(0000024B5AC08230) is of type vtkTable, but a vtkDataSet is required.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt;-qt-paragraph-type:empty;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'><o:p> </o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 809</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>vtkPVDataRepresentationPipeline (0000024B59BB4AA0): Input for connection index 0 on input port index 0 for algorithm vtkGeometryRepresentation(0000024B534FA090) is of type vtkTable, but a vtkDataSet is required.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt;-qt-paragraph-type:empty;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'><o:p> </o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>ERROR: In C:\bbd\7cc78367\source-paraview\VTK\Common\ExecutionModel\vtkDemandDrivenPipeline.cxx, line 809</span><o:p></o:p></p><div style='mso-element:para-border-div;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;-qt-block-indent:0'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>vtkPVDataRepresentationPipeline (0000024B51452420): Input for connection index 0 on input port index 0 for algorithm vtkPVGridAxes3DRepresentation(0000024B593C64B0) is of type vtkTable, but a vtkCompositeDataSet is required.</span><o:p></o:p></p></div></div><p class=MsoNormal style='-qt-paragraph-type:empty;-qt-block-indent:0'> Regards.  </p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:cory.quammen@kitware.com">Cory Quammen</a><br><b>Sent: </b>Thursday, February 22, 2018 11:30 PM<br><b>To: </b><a href="mailto:en.mhdbabiker@gmail.com">Mohammed Babiker</a><br><b>Cc: </b><a href="mailto:paraview@public.kitware.com">paraview@public.kitware.com</a><br><b>Subject: </b>Re: [Paraview] Teaser (Programmable filter) Not working</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Mohammed,</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>See if that works around the problem.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,</p></div><div><p class=MsoNormal>Cory</p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Feb 22, 2018 at 5:17 PM, Mohammed Babiker <<a href="mailto:en.mhdbabiker@gmail.com" target="_blank">en.mhdbabiker@gmail.com</a>> wrote:</p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Good evening Paraview-Help</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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:</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='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 :</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'><span style='font-size:8.5pt;font-family:Courier;color:maroon'>NameError: name 'RequestData' is not defined</span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Then I tried to change the output type to different types (vtktable,vtkpolydata,…etc) and I got different errors.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Below attached images contain info. About the version of ParaView and the pipeline scheme (format png).</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Any help or advice  will be greatly appreciated .</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Kind Regards.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Mohammed B. A. Hassan </p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="https://public.kitware.com/mailman/listinfo/paraview" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a></p></blockquote></div><p class=MsoNormal><br><br clear=all></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- </p></div><p class=MsoNormal>Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>