You are right! I thought that the "command" 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'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"><<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></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'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&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 <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
> I found this thread, really interesting:<br>
> <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>
><br>
> In my case, do I have to use SubProxy and play with ExposedProperties,<br>
> ShareProperties and Except rather than propxyProperty?<br>
><br>
> Or maybe there as similar mechanism (Exposed, except,...) in ProxyProperty?<br>
><br>
> Best regards,<br>
> Jerome<br>
><br>
> 2010/4/11 Jérôme <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>><br>
>><br>
>> Hi,<br>
>><br>
>> One of my filters has a member that is a vtkPolyDataAlgorithm. The user<br>
>> has to set it to a specific smoothing filter, eg.<br>
>> vtkPolyDataSmoothingFilter.<br>
>> The member is called "RegularizationFilter" in my VTK class. Thus the<br>
>> ServerManager XML contains the following property:<br>
>><br>
>> <ProxyProperty name="RegularizationFilter"<br>
>> command="SetRegularizationFilter"><br>
>> <ProxyListDomain name="proxy_list"><br>
>> <Proxy group="filters" name="SmoothPolyDataFilter"/><br>
>> </ProxyListDomain><br>
>> </ProxyProperty><br>
>><br>
>> In ParaView, I can get the filter working, with a combobox proposing the<br>
>> Smooth filter and its properties in a frame below. Problem is that Smooth<br>
>> has a "NumberOfIterations" property, and my filter has too! When I change<br>
>> the NumberOfIterations in the smooth filter, the homonym changes as well...<br>
>><br>
>> How can I set both NumberOfIterations independent? Thanks for your<br>
>> suggestions!<br>
>><br>
>> Please find attached the XML describing my filter.<br>
>><br>
>> Best regards,<br>
>> Jerome<br>
><br>
><br>
</div></div><div class="im">> _______________________________________________<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>
</div><div class="im">> 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>
</div><div class="im">> Follow this link to subscribe/unsubscribe:<br>
</div><div><div></div><div class="h5">> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br>