<div dir="ltr">Hi Michal,<div><br></div><div>cc-ing back to developers list, as there are others who may know more or otherwise benefit from the discussion</div><div><br></div><div>From my understanding, PropertyGroup is designed to provide a way to customize how properties are displayed.  However, your properties must be defined in more detail elsewhere, perhaps inside the same proxy xml definition.  In your case, I would guess they are defined in the same proxy, or else the PropertyGroup you shared in your original email was inside an ExposedProperties element, but I didn't see that.  The detailed property definition won't have the element name "Property", but rather, something like "IntVectorProperty" for example.  But the "name" attribute in the detailed definition will match up with the "name" attribute on your Property within the PropertyGroup.  </div><div><br></div><div>Can you try putting the "panel_visibility" attribute on that detailed property definition instead of on the Property within the PropertyGroup and let us know the results?</div><div><br></div><div>Hope this helps,</div><div>Scott</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 8, 2017 at 1:27 PM, Michal Wozniak <span dir="ltr"><<a href="mailto:michal.wozniak@caboma.com" target="_blank">michal.wozniak@caboma.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="EN-CA" link="blue" vlink="#954F72">
<div class="m_625239383636276932WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I only wish to display the “value property” on default. I want to hide point1, point2, max, and min, therefore only viewing them if we have toggled the advanced button.
</p>
<p class="MsoNormal">Currently, when I set panel_visibility=”advanced” or “never” , it still visible on default.
</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When I add panel_visibility=”advanced” to  a DoubleVectorProperty, it work correctly. It will be visible only when advanced is toggle.
</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is this process different when we want to hide properties inside a panel_widget?
</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:scott.wittenburg@kitware.com" target="_blank">Scott Wittenburg</a><br>
<b>Sent: </b>June 8, 2017 3:10 PM<br>
<b>To: </b><a href="mailto:michal.wozniak@caboma.com" target="_blank">Michal Wozniak</a><br>
<b>Cc: </b><a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.<wbr>org</a><br>
<b>Subject: </b>Re: [Paraview-developers] Panel property visibility</p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi Michal, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">   Do you intend to never show the max and min properties?  As you are probably aware, 'panel_visibility="advanced"' only hides those properties if the advanced toggled is off.  If you never want to see certain properties, you could try
 changing the 'panel_visibility' attribute for those properties to 'never' instead of advanced.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hope this helps,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Scott<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Jun 8, 2017 at 1:02 PM, Michal Wozniak <<a href="mailto:michal.wozniak@caboma.com" target="_blank">michal.wozniak@caboma.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div id="m_625239383636276932m_-358398532352674079divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">Hi,<u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12.0pt;color:black">I am trying to add a slider to my custom plugin but I am having trouble hiding some properties.<u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><a href="https://www.paraview.org/Wiki/ParaView/Properties_Panel#Property_Groups:_For_Exposed_Properties" target="_blank">https://www.paraview.org/Wiki/<wbr>ParaView/Properties_Panel#<wbr>Property_Groups:_For_Exposed_<wbr>Properties</a> <u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">            </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">PropertyGroup</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">label</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Slider Parameters"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">panel_widget</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"<wbr>InteractiveSlider"</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Value"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Value"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"ValueInfo"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"ValueInfo"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point1"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point1"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point1Info"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point1Info"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point2"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point2"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point2Info"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"Point2Info"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"MinimumValue"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"MinimumValue"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">panel_visibility</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"advanced"</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">                </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"><</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">Property</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">function</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"MaximumValue"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">name</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"MaximumValue"</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#9cdcfe">panel_visibility</span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">=</span><span style="font-size:10.5pt;font-family:Consolas;color:#ce9178">"advanced"</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">/></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:#1e1e1e"><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4">            </span><span style="font-size:10.5pt;font-family:Consolas;color:gray"></</span><span style="font-size:10.5pt;font-family:Consolas;color:#569cd6">PropertyGroup</span><span style="font-size:10.5pt;font-family:Consolas;color:gray">></span><span style="font-size:10.5pt;font-family:Consolas;color:#d4d4d4"><u></u><u></u></span></p>
</div>
</div>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12.0pt;color:black">I am trying to hide the max and min value, but it isn't working. I can hide the whole group if I add the panel_visibility="advanced" to the propertyGroup but I want to have the value property visible. <u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12.0pt;color:black">Is there a way of hiding part of the exposed properties? <u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:black"><u></u> <u></u></span></p>
<p><span style="font-size:12.0pt;color:black">Thank you <u></u><u></u></span></p>
<p><span style="font-size:12.0pt;color:#888888">Michal <u></u><u></u></span></p>
<p class="MsoNormal"><span class="m_625239383636276932hoenzb"><u></u> <u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<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/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" target="_blank">
http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a></p>
</blockquote>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

</blockquote></div><br></div>