<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Show Parameter function in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367346#M599</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have a hideparameter function, but is there a showparameter somewhere hidden in the deeps of gdl code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to show a parameter &lt;STRONG&gt;only&lt;/STRONG&gt; when couple of conditions are met among the many I have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF door_opening &amp;lt;&amp;gt; 1 AND multi_door &amp;lt;&amp;gt; 1 THEN
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The idea behind it is, if the door_opening and multi_door are both different than 1, then hide the parameter. For some reason is not working for me.&lt;/P&gt;
&lt;P&gt;For example, if door_opening = 2 and multi_door = 1, the parameter is showing still, which is not what I want. Only if door_opening = 1 and multi_door = 1 the parameter should show, otherwise keep it hidden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope all&amp;nbsp; this makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 09:44:16 GMT</pubDate>
    <dc:creator>jc4d</dc:creator>
    <dc:date>2023-05-26T09:44:16Z</dc:date>
    <item>
      <title>Show Parameter function</title>
      <link>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367346#M599</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have a hideparameter function, but is there a showparameter somewhere hidden in the deeps of gdl code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to show a parameter &lt;STRONG&gt;only&lt;/STRONG&gt; when couple of conditions are met among the many I have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF door_opening &amp;lt;&amp;gt; 1 AND multi_door &amp;lt;&amp;gt; 1 THEN
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The idea behind it is, if the door_opening and multi_door are both different than 1, then hide the parameter. For some reason is not working for me.&lt;/P&gt;
&lt;P&gt;For example, if door_opening = 2 and multi_door = 1, the parameter is showing still, which is not what I want. Only if door_opening = 1 and multi_door = 1 the parameter should show, otherwise keep it hidden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope all&amp;nbsp; this makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 09:44:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367346#M599</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2023-05-26T09:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show Parameter function</title>
      <link>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367350#M600</link>
      <description>&lt;P&gt;It seems like using OR instead of AND it does the trick, but not sure if it is the right way.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF door_opening &amp;lt;&amp;gt; 1 OR multi_door &amp;lt;&amp;gt; 1 THEN
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:12:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367350#M600</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2023-01-13T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show Parameter function</title>
      <link>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367570#M601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what you said in the first half of you description was&lt;/P&gt;&lt;P&gt;"if the door_opening and multi_door are both different than 1, then hide the parameter"&lt;/P&gt;&lt;PRE&gt;IF door_opening # 1 AND multi_door # 1 THEN
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/PRE&gt;&lt;P&gt;***Not the outcome you describe in the second part of your description&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what you said in the second half of your your description was&lt;/P&gt;&lt;P&gt;"Only if door_opening = 1 and multi_door = 1 the parameter should show, otherwise keep it hidden"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF door_opening = 1 AND multi_door = 1 THEN
       !!!Show the parameter
ELSE
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no "SHOWPARAMETER" command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another way to write that in English would be:&lt;/P&gt;&lt;P&gt;"if the door_opening is different than 1 or multi_door is different than 1, then hide the parameter,&lt;/P&gt;&lt;P&gt;so only if door_opening = 1 and multi_door = 1 the parameter should show, otherwise keep it hidden."&lt;/P&gt;&lt;PRE&gt;IF door_opening # 1 OR multi_door # 1 THEN
	HIDEPARAMETER "second_door_opening"
ENDIF&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The AND/OR for exclusion combinations are sometimes confusing.&lt;/P&gt;&lt;P&gt;the # "not equal to" is on the Shift+3 key on the keyboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 23:16:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Show-Parameter-function/m-p/367570#M601</guid>
      <dc:creator>AllanP</dc:creator>
      <dc:date>2023-01-15T23:16:21Z</dc:date>
    </item>
  </channel>
</rss>

