<?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 Re: Parameter update in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/585100#M6221</link>
    <description>&lt;P&gt;Hi Barry, Thank you for your answer.&lt;/P&gt;
&lt;P&gt;I have now changed the code to this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_0-1706000479480.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52326i36B019E8FC4F4B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="concepsys_0-1706000479480.png" alt="concepsys_0-1706000479480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it works fine.&lt;/P&gt;
&lt;P&gt;Come to think of it it, maybe this makes sense to prevent infinite circular references. I suppose there must be a limit for parameter updates. If not, everytime one condition was met, the other conditions would change other parameters that would possible run their own change codes and so on. Maybe?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a print screen from the archicad opened on my home laptop without a key, because I forgot to upload it from the office computer.&lt;/P&gt;
&lt;P&gt;This "trial" version wont allow me to copy paste this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway it works now.&lt;/P&gt;
&lt;P&gt;Thank you again.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2024 19:50:58 GMT</pubDate>
    <dc:creator>concepsys</dc:creator>
    <dc:date>2024-01-24T19:50:58Z</dc:date>
    <item>
      <title>Parameter update</title>
      <link>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/584977#M6217</link>
      <description>&lt;P&gt;I am developing a door element.&amp;nbsp;&lt;SPAN&gt;I want to change several associated parameters according to the one the user will change, such as egress, leaf size, etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Everything works fine except for a single parameter that I have named "leaf_size".&lt;/P&gt;
&lt;P&gt;When I change any one of the other parameters all the associated parameters will immediately change and show the correct value, except this one. On the first value edit, all the others will update but not this one. On the second value edit, (without closing the settings window), again all the parameters will update and this will show the value it should have shown in the previous edition.&lt;/P&gt;
&lt;P&gt;I believe this is not the first time this has happened to me.&lt;/P&gt;
&lt;P&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;here's the code&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_0-1705953510811.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52277iCC263B599CEC9F52/image-size/large?v=v2&amp;amp;px=999" role="button" title="concepsys_0-1705953510811.png" alt="concepsys_0-1705953510811.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:26:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/584977#M6217</guid>
      <dc:creator>concepsys</dc:creator>
      <dc:date>2024-09-26T11:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter update</title>
      <link>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/584995#M6218</link>
      <description>&lt;P&gt;Can you share the object.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 22:12:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/584995#M6218</guid>
      <dc:creator>Mario Sacco</dc:creator>
      <dc:date>2024-01-22T22:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter update</title>
      <link>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/585014#M6220</link>
      <description>&lt;P&gt;Just looking at it quickly it seems OK - I don't see any obvious errors.&lt;/P&gt;
&lt;P&gt;Logically it seems to be in the correct order to do what you want, but is there more to the script we can not see?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One tip however is never just script ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PARAMETERS wall_hole_size = egress + frameX + frameX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should type ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wall_hole_size = egress + frameX + frameX&lt;/P&gt;
&lt;P&gt;PARAMETERS wall_hole_size = wall_hole_size&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This sets the value of the parameter to be used in the scripts as well as setting the value of the parameter you see in the parameter list.&lt;/P&gt;
&lt;P&gt;There is a difference.&lt;/P&gt;
&lt;P&gt;This applies to all of the PARAMETERS you are setting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe that will make a difference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I tend to put GLOB_MODPAR_NAME commands in the master script - but that may just be me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 00:54:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/585014#M6220</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-01-23T00:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter update</title>
      <link>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/585100#M6221</link>
      <description>&lt;P&gt;Hi Barry, Thank you for your answer.&lt;/P&gt;
&lt;P&gt;I have now changed the code to this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_0-1706000479480.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/52326i36B019E8FC4F4B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="concepsys_0-1706000479480.png" alt="concepsys_0-1706000479480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it works fine.&lt;/P&gt;
&lt;P&gt;Come to think of it it, maybe this makes sense to prevent infinite circular references. I suppose there must be a limit for parameter updates. If not, everytime one condition was met, the other conditions would change other parameters that would possible run their own change codes and so on. Maybe?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a print screen from the archicad opened on my home laptop without a key, because I forgot to upload it from the office computer.&lt;/P&gt;
&lt;P&gt;This "trial" version wont allow me to copy paste this code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway it works now.&lt;/P&gt;
&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 19:50:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Parameter-update/m-p/585100#M6221</guid>
      <dc:creator>concepsys</dc:creator>
      <dc:date>2024-01-24T19:50:58Z</dc:date>
    </item>
  </channel>
</rss>

