<div dir="ltr"><div><div><div>Thank you, that works.<br></div>However, I have modified the method SetMyProperty, so that it performs some additional logic. Now, the problem is, that I need SetMyProperty to be called even when setting the same value again. ParaView caches the property, so that SetMyProperty is only executed when the argument is different from a previous call. Is it possible to change a flag or something to force the remote procedure call even if the argument is the same?<br><br></div>Thanks<br></div>Mario<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-05 15:26 GMT+01:00 David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Try adding a Property element to the xml.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 3, 2016 at 12:09 PM, Mario Schreiber <span dir="ltr"><<a href="mailto:schreibermario40@gmail.com" target="_blank">schreibermario40@gmail.com</a>></span> wrote:<br><div dir="ltr"><br>...</div><span class=""><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr">class vtkMyObject : public vtkObject<br>{<br>  public:<br></div></blockquote></span><div>... <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br>    vtkGetMacro(MyProperty,double)<wbr>;<br>    vtkSetMacro(MyProperty,double)<wbr>;<br><br></div></blockquote><div><br></div><div dir="ltr">To make that callable by ParaView:<span class=""><br><br>4. MyConfig.xml:<br><ServerManagerConfiguration><br>  <ProxyGroup name="my"><br>   <Proxy name="MyObject" class="vtkMyObject"<br>label="MyObject"><br></span></div><div><br> <DoubleVectorProperty command="SetMyProperty"<br>                            default_values="0"<br>                            name="MyProperty"<br>                            number_of_elements="1"<br>                            panel_visibility="default"><br>        <Documentation>Set MyProperty</Documentation><br></DoubleVectorProperty><br></div> <br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr">   </Proxy><br> </ProxyGroup><br></ServerManagerConfiguration><br><br></div></blockquote><div><br>... <br></div></div><br></div></div></div></div>
</blockquote></div><br></div>