I'm not sure this is what you're looking for but the proxy does get wrapped such that it's available through pvpython and pvbatch. When you load the plugin, do "LoadPlugin("<shared lib location>", True, globals())" and it should be available. If you're want the actual VTK class to by python wrapped, I think Sebastien is correct though.<br>
<br>Andy<br><br><div class="gmail_quote">On Wed, May 2, 2012 at 11:32 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Paul,<br>
<br>
your vtk class are not "python" wrapped automatically when provided<br>
from plugin. But you might be able to use a CMake macro that has been<br>
defined in ParaView to force your vtk classes to be Python wrapped.<br>
Although, I'm not fully certain that will just work.<br>
Unfortunately I don't have much insight on where to look.<br>
<br>
Dave DeMarle might be able to point you to the right direction...<br>
<br>
Seb<br>
<div><div class="h5"><br>
On Wed, May 2, 2012 at 10:56 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Do my VTK classes get wrapped when I create a paraview plugin? If so, how<br>
> do I access them? And, if not, is it possible to do this?<br>
><br>
> Thanks,<br>
> Paul<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
_______________________________________________<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>
</blockquote></div><br>