<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I develop a plugin that and in its corresponding xml file, I have a doubleVectorProperty in which I would like to write the result of my filter and I don't want to make it editable.<br>So, I am looking for some examples of doing this beacause I really don't know how to do this and that make a while I want to make it. I have found nothing about this in the Paraview Guide book.<br><br>Here's what I have written in the plugin xml file:<br><br>&lt;DoubleVectorProperty<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name="GetResult"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command="GetResult"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; information_only="1"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;SimpleDoubleInformationHelper/&gt;<br>&nbsp;&nbsp;&nbsp;
 &lt;/DoubleVectorProperty&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;DoubleVectorProperty<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; name="Result"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; command="SetResult<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; number_of_elements="1"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; default_values="0.0"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; information_property="GetResult"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/DoubleVectorProperty&gt;<br><br>and the code in the source is:<br>double GetResult()<br>
{<br>
&nbsp;&nbsp;&nbsp; return m_result;<br>
}<br>
<br>void SetResult(double value)<br>{<br>&nbsp;&nbsp;&nbsp; m_result = value;<br>}<br><br>Then, in my code, when I would like to update this lineedit in the plugin GUI I call SetResult(myResult). But nothing happen and the lineedit in the plugin GUI is editable (which I don't want).<br><br>Thank you for your advise.<br><br><br></div>
</div><br>




      </body></html>