Hi Eddy,

the reason for that is we are missing a bunch of import in
${PV_SRC}/Wrapping/Python/paraview/vtk/__init__.py


But if you add that line, that will solve your vtk.vtkStripper() call.


from vtkFiltersCorePython import *


I'll push more vtk module into __init__.py so that should be fixed for
the release.


Thanks,


Seb




On Thu, Nov 15, 2012 at 4:11 AM, edd cmaugo <edc...@gmail.com> wrote:

> Hi,
>
> Is it possible to use a vtkStripper with the 3.98.0-RC1 on a programmable
> filter  ?
>
> If I do :
>
> from paraview import vtk
>
> stripper = vtk.vtkStripper()
>
>
> I've got :
>
> AttributeError: 'module' object has no attribute 'vtkStripper'
>
> With the 3.14, there's no error.
> Also, there is much more things when you print an
> "inspect.getmembers(vtk)" with the 3.14 release.
>
> Thanks,
> --
> Eddy
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to