<div>
                    Thanks for your answers!
                </div><div><br></div><div>John,</div><div>where on the gui-side do I need to pass that string? Do I need to modify the ParaView sources? Because I only want to write a plugin which should be redistributable to colleagues which have only the ParaView binaries installed.</div><div>And your suggestion assumes that I only want to export one actor right? What I want is to export all actors in one step.</div><div><br></div><div><div>Lars</div></div>
                 
                <p style="color: #A0A0A8;">Am Mittwoch, 17. August 2011 um 15:45 schrieb Biddiscombe, John A.:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>It'd probably be easier to add a method to the vtk-exporter class which accepts a string, and from the gui, pass the string in just before export - because you can get it the proxy name from the gui end. Make sure the SetProxyName(char*...) method doesn't call Modified. (ie don't use SetStringMacro)<br><br>JB<br><br>-----Original Message-----<br>From: paraview-bounces@paraview.org [<a href="mailto:paraview-bounces@paraview.org">mailto:paraview-bounces@paraview.org</a>] On Behalf Of Utkarsh Ayachit<br>Sent: 17 August 2011 15:16<br>To: Lars Bilke<br>Cc: ParaView Mailliste<br>Subject: Re: [Paraview] Get name of object in Pipeline Browser<br><br>It's not possible, not from a simple exporter plugin.The exporter<br>lives entirely in the VTK world without any knowledge of proxies. A<br>unconventional approach would be explicitly make the exporter plugin<br>link agains the pqCore library, then you can access the<br>pqApplicationCore and other singletons (like ProxyManager) and get<br>information about what sources are present and what their names are<br>(this is acceptable since exporter work entirely on the client-side).<br>It is still, however, non trivial to determine which actor corresponds<br>to what source proxy.<br><br><br><br>On Wed, Aug 17, 2011 at 3:40 AM, Lars Bilke &lt;<a href="mailto:lars.bilke@ufz.de">lars.bilke@ufz.de</a>&gt; wrote:<br><blockquote type="cite"><div>Dear ParaView users,<br>is it possible to programmatically get the name of an object in the Pipeline<br>Browser? To be more specific I need to get this name from a vtkActor. I am<br>writing a exporter plugin<br>(see&nbsp;<a href="http://www.mail-archive.com/paraview@paraview.org/msg12939.html">http://www.mail-archive.com/paraview@paraview.org/msg12939.html</a>)&nbsp;and<br>want to name my objects in the exported file.<br>Thanks for your help,<br>Lars.<br><br><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></div></blockquote>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>