[Paraview] Fwd: vtkStripper with programmable source

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Nov 15 09:15:55 EST 2012


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 <edcpwk at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121115/d85757f5/attachment.htm>


More information about the ParaView mailing list