[Paraview] Teaser (Programmable filter) Not working

Cory Quammen cory.quammen at kitware.com
Thu Feb 22 17:30:51 EST 2018


Mohammed,

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.

See if that works around the problem.

Thanks,
Cory

On Thu, Feb 22, 2018 at 5:17 PM, Mohammed Babiker <en.mhdbabiker at gmail.com>
wrote:

> Good evening Paraview-Help
>
> 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:
>
> *from* *vtk.* *numpy_interface* *import* dataset_adapter *as* dsa
>
> *from* *vtk.* *numpy_interface* *import* algorithms *as* algs
>
> data = inputs [0]
>
> *print* data.PointData.keys ()
>
> *print* data.PointData[’Elevation ’]
>
> 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 :
>
> File "<string>", line 6
>
> print data.PointData[’Elevation ’]
>
> ^
>
> SyntaxError: invalid syntax
>
> Traceback (most recent call last):
>
> File "<string>", line 22, in <module>
>
> NameError: name 'RequestData' is not defined
>
> Then I tried to change the output type to different types
> (vtktable,vtkpolydata,…etc) and I got different errors.
>
> Below attached images contain info. About the version of ParaView and the
> pipeline scheme (format png).
>
> Any help or advice  will be greatly appreciated .
>
>
>
> Kind Regards.
>
>
>
> Mohammed B. A. Hassan
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180222/90773c62/attachment.html>


More information about the ParaView mailing list