<pre style="margin-top:0px;margin-bottom:0px">Hi Eddy,</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">the reason for that is we are missing a bunch of import in ${PV_SRC}/Wrapping/Python/paraview/vtk/__init__.py</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">But if you add that line, that will solve your <span style="font-family:arial,sans-serif;font-size:13px">vtk.vtkStripper() call.</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">from<span style="color:rgb(192,192,192)"> </span>vtkFiltersCorePython<span style="color:rgb(192,192,192)"> </span>import<span style="color:rgb(192,192,192)"> </span>*</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">I'll push more vtk module into __init__.py so that should be fixed for the release.</pre><pre style="margin-top:0px;margin-bottom:0px">
<br></pre><pre style="margin-top:0px;margin-bottom:0px">Thanks,</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">Seb </pre><pre style="margin-top:0px;margin-bottom:0px">
<br></pre><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 4:11 AM, edd cmaugo <span dir="ltr"><<a href="mailto:edcpwk@gmail.com" target="_blank">edcpwk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><div class="gmail_quote">
<br>
Is it possible to use a vtkStripper with the 3.98.0-RC1 on a programmable filter ?<br>
<br>
If I do :<br>
<br>
from paraview import vtk<br>
<p style="margin:0px;text-indent:0px">stripper = vtk.vtkStripper()</p>
<p style="margin:0px;text-indent:0px"><br></p>
I've got :<br>
<br>
<span style="font-family:'Courier';font-size:8.25pt;color:rgb(128,0,0)">AttributeError: 'module' object has no attribute 'vtkStripper'</span><br>
<br>
With the 3.14, there's no error.<br>
<span lang="en"><span>Also, there is</span> <span>much more</span></span> things when you print an "inspect.getmembers(vtk)" with the 3.14 release.<br>
<br>
Thanks,<br>
--<br>
Eddy
</div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>