You are right! I thought that the &quot;command&quot; field was guilty (they are the homonyms), but they were not. I simply changed the property name in my new filter, so that I don&#39;t have to rewrite XML for existing proxies. <br>
<br>Thanks a lot David!<br><br>Jerome<br><br><div class="gmail_quote">2010/4/13 David E DeMarle <span dir="ltr">&lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In vtkSMProxyProperty::ReadXMLAttributes() (and it&#39;s parent classes),<br>
I do not see any attribute similar to Exposed or Shared in the XML<br>
parser.<br>
<br>
You might be able to work around it by making new proxies for<br>
SmoothPolyDataFilter, and then changing the name of the property in<br>
your version.<br>
<br>
hth,<br>
<font color="#888888">David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Apr 13, 2010 at 3:43 AM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt; I found this thread, really interesting:<br>
&gt;    <a href="http://www.paraview.org/pipermail/paraview/2008-December/010414.html" target="_blank">http://www.paraview.org/pipermail/paraview/2008-December/010414.html</a><br>
&gt;<br>
&gt; In my case, do I have to use SubProxy and play with ExposedProperties,<br>
&gt; ShareProperties and Except rather than propxyProperty?<br>
&gt;<br>
&gt; Or maybe there as similar mechanism (Exposed, except,...) in ProxyProperty?<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Jerome<br>
&gt;<br>
&gt; 2010/4/11 Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; One of my filters has a member that is a vtkPolyDataAlgorithm. The user<br>
&gt;&gt; has to set it to a specific smoothing filter, eg.<br>
&gt;&gt; vtkPolyDataSmoothingFilter.<br>
&gt;&gt; The member is called &quot;RegularizationFilter&quot; in my VTK class. Thus the<br>
&gt;&gt; ServerManager XML contains the following property:<br>
&gt;&gt;<br>
&gt;&gt;         &lt;ProxyProperty name=&quot;RegularizationFilter&quot;<br>
&gt;&gt;                        command=&quot;SetRegularizationFilter&quot;&gt;<br>
&gt;&gt;            &lt;ProxyListDomain name=&quot;proxy_list&quot;&gt;<br>
&gt;&gt;               &lt;Proxy group=&quot;filters&quot; name=&quot;SmoothPolyDataFilter&quot;/&gt;<br>
&gt;&gt;            &lt;/ProxyListDomain&gt;<br>
&gt;&gt;         &lt;/ProxyProperty&gt;<br>
&gt;&gt;<br>
&gt;&gt; In ParaView, I can get the filter working, with a combobox proposing the<br>
&gt;&gt; Smooth filter and its properties in a frame below. Problem is that Smooth<br>
&gt;&gt; has a &quot;NumberOfIterations&quot; property, and my filter has too! When I change<br>
&gt;&gt; the NumberOfIterations in the smooth filter, the homonym changes as well...<br>
&gt;&gt;<br>
&gt;&gt; How can I set both NumberOfIterations independent? Thanks for your<br>
&gt;&gt; suggestions!<br>
&gt;&gt;<br>
&gt;&gt; Please find attached the XML describing my filter.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Jerome<br>
&gt;<br>
&gt;<br>
</div></div><div class="im">&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
</div><div class="im">&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
</div><div class="im">&gt; Follow this link to subscribe/unsubscribe:<br>
</div><div><div></div><div class="h5">&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>