Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-21 Thread Sebastien Jourdain
Hi Eddy, after talking with Berk, we won't load that module by default and you will just need to load it yourself in your script. Seb On Fri, Nov 16, 2012 at 9:37 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Ah ok, I was referring to that line inside the

Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-16 Thread edd cmaugo
Thanks you, There's just a python warning in the output messages window but it works perfectly. Eddy 2012/11/15 Sebastien Jourdain sebastien.jourd...@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

Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-16 Thread Sebastien Jourdain
Hi Eddy, what do you mean by There's just a python warning in the output messages window but it works perfectly. What have you done ? Thanks, Seb On Fri, Nov 16, 2012 at 4:36 AM, edd cmaugo edc...@gmail.com wrote: Thanks you, There's just a python warning in the output messages window

Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-16 Thread edd cmaugo
Hi Seb, The line : from vtkFiltersCorePython import * leads to this warning on the output messages window : string:1: SyntaxWarning: import * only allowed at module level 2012/11/16 Sebastien Jourdain sebastien.jourd...@kitware.com Hi Eddy, what do you mean by There's just a python

Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-16 Thread Sebastien Jourdain
Ah ok, I was referring to that line inside the ${PV_SRC}/Wrapping/Python/ paraview/vtk/__init__.py Sorry for the confusion, Seb On Fri, Nov 16, 2012 at 9:20 AM, edd cmaugo edc...@gmail.com wrote: Hi Seb, The line : from vtkFiltersCorePython import * leads to this warning on the

[Paraview] Fwd: vtkStripper with programmable source

2012-11-15 Thread edd cmaugo
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

Re: [Paraview] Fwd: vtkStripper with programmable source

2012-11-15 Thread Sebastien Jourdain
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