In vtkSMProxyProperty::ReadXMLAttributes() (and it's parent classes), I do not see any attribute similar to Exposed or Shared in the XML parser.
You might be able to work around it by making new proxies for SmoothPolyDataFilter, and then changing the name of the property in your version. hth, David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Tue, Apr 13, 2010 at 3:43 AM, Jérôme <[email protected]> wrote: > I found this thread, really interesting: > http://www.paraview.org/pipermail/paraview/2008-December/010414.html > > In my case, do I have to use SubProxy and play with ExposedProperties, > ShareProperties and Except rather than propxyProperty? > > Or maybe there as similar mechanism (Exposed, except,...) in ProxyProperty? > > Best regards, > Jerome > > 2010/4/11 Jérôme <[email protected]> >> >> Hi, >> >> One of my filters has a member that is a vtkPolyDataAlgorithm. The user >> has to set it to a specific smoothing filter, eg. >> vtkPolyDataSmoothingFilter. >> The member is called "RegularizationFilter" in my VTK class. Thus the >> ServerManager XML contains the following property: >> >> <ProxyProperty name="RegularizationFilter" >> command="SetRegularizationFilter"> >> <ProxyListDomain name="proxy_list"> >> <Proxy group="filters" name="SmoothPolyDataFilter"/> >> </ProxyListDomain> >> </ProxyProperty> >> >> In ParaView, I can get the filter working, with a combobox proposing the >> Smooth filter and its properties in a frame below. Problem is that Smooth >> has a "NumberOfIterations" property, and my filter has too! When I change >> the NumberOfIterations in the smooth filter, the homonym changes as well... >> >> How can I set both NumberOfIterations independent? Thanks for your >> suggestions! >> >> Please find attached the XML describing my filter. >> >> Best regards, >> Jerome > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
