[Paraview] Fwd: vtkStripper with programmable source

edd cmaugo edcpwk at gmail.com
Fri Nov 16 04:36:49 EST 2012


Thanks you,

There's just a python warning in the output messages window but it works
perfectly.

Eddy


2012/11/15 Sebastien Jourdain <sebastien.jourdain at kitware.com>

> 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/20121116/d56a4fc9/attachment-0001.htm>


More information about the ParaView mailing list