<font color="#000000"><font size="2"><font face="tahoma,sans-serif"> Hi<br><br>How do I get the vtkPolyData from a ParaView representation that is created by pqObjectBuilder?<br><br><br>For example if I click on the  &quot;Create Source&quot; button, in ParaView, I can modify the position property of that source in my plugin using the following code:<br>
  <br>      pqDataRepresentation *data =</font></font></font><font color="#000000"><font size="2"><font face="tahoma,sans-serif">pqApplicationCore::instance()-&gt;getServerManagerModel()</font></font></font><font color="#000000"><font size="2"><font face="tahoma,sans-serif">-&gt;getItemAtIndex&lt;pqDataRepresentation*&gt;(0);<br>
        </font></font></font><font color="#000000"><font size="2"><font face="tahoma,sans-serif">vtkSMRepresentationProxy *repProxy =  vtkSMRepresentationProxy::SafeDownCast(data-&gt;getProxy());<br>        vtkSMPropertyHelper(repProxy,&quot;Position&quot;).Set(newPosition,3);<br>
              <br><br>I would like to be able to get the vtkPolyData if possible because I&#39;m trying to use Goodwin Lawlor&#39;s  vtkCollisionDetectionFilter.h <br><br>Thanks.<br clear="all"></font></font></font><br clear="all">
<br>-- <br>Regards,<br>Alexis<br><br>