<div dir="ltr"><div>Make sure to expose that in the proxy definition that contains the P3DReaderCore proxy definition too.<br></div><div>ie, look further down in readers.xml and you will find<br></div>    <SourceProxy class="vtkFileSeriesReader"<br>                 file_name_method="SetQFileName"<br>                 label="PLOT3D Reader"<br>                 name="P3DReader"<br>                 si_class="vtkSIMetaReaderProxy"><br>...<br>      <SubProxy><br>        <Proxy name="Reader"<br>               proxygroup="internal_sources"<br>               proxyname="P3DReaderCore"></Proxy><br>        <ExposedProperties><br>          <Property name="FileName" /><br>...<br>          <Property name="ForceRead" /><br>add this<br>          <Property name="Gamma" /><br>...<br>        </ExposedProperties><br>      </SubProxy><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Thu, Dec 29, 2016 at 6:56 PM, Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC] <span dir="ltr"><<a href="mailto:timothy.a.beach@nasa.gov" target="_blank">timothy.a.beach@nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,  I’m trying to do something I thought would be simple and I’ll bet it is once I see my error - but I’ve spent several hours trying things and searching for answers in the docs.   I want to add an entry box in the property panel for Gamma in the PLOT3D reader. I’m compiling version 5.2.   I noticed in the header file that there are already MACRO’s for Gamma:<br>
  /**<br>
   * Set/Get the ratio of specific heats. Default is 1.4.<br>
   */<br>
  vtkSetMacro(Gamma,double);<br>
  vtkGetMacro(Gamma,double);<br>
<br>
I thought all I would have to do is add appropriate entries into the readers.xml file  and it would appear in the property panel. I’ve tried various things but they all look essentially like this:<br>
<br>
      <!-- start TAB add --><br>
      <DoubleVectorProperty command="SetGamma"<br>
                            name="Gamma"<br>
                            default_values="1.4"<br>
                            number_of_elements="1"<br>
                            panel_visibility="default"><br>
        <Documentation> Set Gamma </Documentation><br>
      </DoubleVectorProperty><br>
      <!-- end TAB add --><br>
<br>
It compiles and runs but I don’t get an entry  box. What am I missing?  I am stumped for now so any help would be appreciated.  I’ll hit it again  next week.<br>
Thanks<br>
Tim<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>