<div dir="ltr">Hi Markus,<div><br></div><div>In order to get access to those methods in Python you just need to import the module that define the classes that you care about.</div><div>To figure our the import line look at the file "module.cmake" inside the directory of your C++ class definition.</div>
<div>Then from the name of the module do something like that before getting a reference of that class.</div><div><br></div><div>from {name}Python import *</div><div><br></div><div>That's it!</div><div><br></div><div>Seb</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 9:46 PM, Markus Fuger <span dir="ltr"><<a href="mailto:markus.fuger@outlook.com" target="_blank">markus.fuger@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello,<br><br>I don't actually want to do that - but because I did not get any answer to post here:<br><a href="http://www.vtk.org/pipermail/vtkusers/2014-May/084020.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2014-May/084020.html</a><br>
I ask another question because I think it might be the solution for my initial problem.<br><br>How to properly use the SafeDownCast Method with the Python wrapper to use methods that should be inherited from a parent class? According to this document ( <a href="https://github.com/Kitware/VTK/blob/master/Wrapping/Python/README_WRAP.txt" target="_blank">https://github.com/Kitware/VTK/blob/master/Wrapping/Python/README_WRAP.txt</a> ) it should not be needed - but in the same way I cannot access the SetInputString method for vtkXMLStructuredDataReaders.<br>
<br>Thanks in advance for your help!<span class="HOEnZb"><font color="#888888"><br>Markus<br>                                           </font></span></div></div>
<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>