<div dir="ltr">Jean-Michel,<div><br></div><div>Thank you for clarifying, I think I understand now. So you see the calculator buttons and text field for entering the expression? And you want the name of the property to appear in the label?</div><div><br></div><div>For this property, a custom widget is used in the Properties panel that does not display the property name. Hence, the property name does not show up. I see that in 3.14 the Function is displayed with a simple text field - you don't get the calculator buttons.</div><div><br></div><div>We'd have to change the custom widget to display the property name. This would be a relatively simple change that I could walk you through if you'd like to contribute to the ParaView source code.</div><div><br></div><div>Let me know if you are interested.</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 2:43 AM, Jean-Michel Lucas <span dir="ltr"><<a href="mailto:jm.lucas@gantha.com" target="_blank">jm.lucas@gantha.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div lang="FR" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi
Cory,<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Thank
you for your answer.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I
did remember to click the + sign, and in fact the property shows fine when
playing the filter later on. Only the property name, which you can choose when
designing the filter, doesn't appear in ParaView 4.3. If I open the same custom
filter in ParaView 3.12, the name does show up.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Best,<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Jean-Michel<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Cory Quammen
[mailto:<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>] <br>
<b>Envoyé :</b> mercredi 23 septembre 2015 05:00<br>
<b>À :</b> Jean-Michel Lucas<br>
<b>Cc :</b> ParaView<br>
<b>Objet :</b> Re: [Paraview] Custom filter: exposed properties of a
Calculator filter<u></u><u></u></span></p>

</div><div><div class="h5">

<p class="MsoNormal"><u></u> <u></u></p>

<div>

<p class="MsoNormal">Jean-Michel,<u></u><u></u></p>

<div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

<div>

<p class="MsoNormal">I am not able to reproduce what you are reporting with 4.3.1
or 4.4.<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

<div>

<p class="MsoNormal">Did you remember to click the + sign when adding the
property? The first time I tried I forgot to do that, and the Function property
was not exposed in my custom filter. When I did add the property, it was
exposed.<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

<div>

<p class="MsoNormal">HTH,<u></u><u></u></p>

</div>

<div>

<p class="MsoNormal">Cory<u></u><u></u></p>

</div>

</div>

<div>

<p class="MsoNormal"><u></u> <u></u></p>

<div>

<p class="MsoNormal">On Tue, Sep 22, 2015 at 5:07 AM, Jean-Michel Lucas <<a href="mailto:jm.lucas@gantha.com" target="_blank">jm.lucas@gantha.com</a>>
wrote:<u></u><u></u></p>

<div>

<div>

<p class="MsoNormal"><span lang="EN-US">Hi,</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US">I am trying to create a Custom Filter in ParaView 4.3.1.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US">I am having trouble with the exposed properties of a Calculator
filter: when defining the properties for my custom filter, I am selecting the
"Function" property and setting the property name for this
Calculator. However, when using the custom filter, this property name does not
appear in the Properties panel of the Object Inspector. Is this a known bug or
is there something I'm missing ?</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US">Also, is it possible to hide the calculator buttons and only leave
the blank field ? This was the default behavior in (at least) ParaView 3.12.0.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US">Thank you for your help.</span><u></u><u></u></p>

<p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span><span style="color:#888888"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="color:#888888">Jean-Michel<u></u><u></u></span></p>

</div>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><u></u><u></u></p>

</div>

<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>

<div>

<p class="MsoNormal"><u></u> <u></u></p>

</div>

<p class="MsoNormal">-- <u></u><u></u></p>

<div>

<p class="MsoNormal">Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.<u></u><u></u></p>

</div>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>