<?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: Project dependent request errors in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591716#M6424</link>
    <description>&lt;P&gt;Please look for this topic in the forum (there are also some orthers) about your issues:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403" target="_blank"&gt;https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You are able to use the REQUESTs in the Scripts which are marked in the Reference with a green checker.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 19:37:29 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2024-03-10T19:37:29Z</dc:date>
    <item>
      <title>Project dependent request errors</title>
      <link>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591680#M6420</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am having a problem with several commands when I use them in Master and then Check in Parameters Script.&lt;/P&gt;
&lt;P&gt;lc = REQUEST ("Configuration_number", "", stConfigurationNumber) will print this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_0-1710020980738.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/54522iC39FAFFC8E0F1EB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="concepsys_0-1710020980738.png" alt="concepsys_0-1710020980738.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I use&amp;nbsp;n = REQUEST ("CALC_AREA_UNIT", "", area_req), will print this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_1-1710021139665.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/54523i8192CED098CEBE01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="concepsys_1-1710021139665.png" alt="concepsys_1-1710021139665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF GLOB_CONTEXT &amp;lt;&amp;gt; 1&amp;nbsp;, will print this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_2-1710021201493.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/54524i945E23DC1F38C3D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="concepsys_2-1710021201493.png" alt="concepsys_2-1710021201493.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="concepsys_3-1710021225616.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/54525i1AE782FC354B7C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="concepsys_3-1710021225616.png" alt="concepsys_3-1710021225616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The object I am programming will run well in User Interface mode, but Parameters won't update. I believe it may be because of this problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are these problems? Are they not regular GDL commands, they can't be used in Master script?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to avoid these "problems"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:22:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591680#M6420</guid>
      <dc:creator>concepsys</dc:creator>
      <dc:date>2024-09-24T08:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Project dependent request errors</title>
      <link>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591698#M6421</link>
      <description>&lt;P&gt;The GDL Reference Guide says:&lt;/P&gt;
&lt;DIV class="page" title="Page 520"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Request Parameter Script Compatibility&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The use of most requests in parameter scripts (or master scripts run as parameter script) can result in unstable returned values, therefore should be avoided. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Compatibility up to Archicad 19: The use of most requests in parameter scripts (or master scripts run as parameter script) could result in unreliable returned values. Compatibility starting from Archicad 20: the following applies in parameter script cases: &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI style="font-size: 10.000000pt; font-family: 'Garamond';"&gt;
&lt;P&gt;&lt;SPAN&gt;the request expression will always have 0 as success return value &lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI style="font-size: 10.000000pt; font-family: 'Garamond';"&gt;
&lt;P&gt;&lt;SPAN&gt;the requested values will contain a type-matching default only (empty string or 0) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using restricted requests in the parameter script will also generate GDL warnings starting from Archicad 19. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To check the parameter script compatibility, refer to the tables below.&lt;/SPAN&gt;&lt;SPAN&gt;: Legend: &lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;TABLE style="border-collapse: collapse; background-color: rgb(100.000000%, 100.000000%, 100.000000%);"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500000pt 0.500006pt 0.500001pt 0.500000pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;grafic 1&lt;/TD&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500000pt 0.500000pt 0.500001pt 0.500006pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;works without restriction &lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500001pt 0.500006pt 0.500001pt 0.500000pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;grafic 2&lt;/TD&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500001pt 0.500000pt 0.500001pt 0.500006pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;works (with additional warning) &lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500001pt 0.500006pt 0.500000pt 0.500000pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;grafic 3&lt;/TD&gt;
&lt;TD style="border-style: solid; background-color: rgb(100.000000%, 100.000000%, 100.000000%); border-width: 0.500001pt 0.500000pt 0.500000pt 0.500006pt; border-color: rgb(0.000000%, 0.000000%, 0.000000%);"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;does not work: expression returns 0, while containing dummy type- matching defaults in returned variables (empty string or 0) - with additional warning &lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 10 Mar 2024 13:27:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591698#M6421</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-03-10T13:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Project dependent request errors</title>
      <link>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591705#M6422</link>
      <description>&lt;P&gt;Hello Joachim,&amp;nbsp;Thank you for your reply.&lt;BR /&gt;I have tested them and I confirm the results are not stable. In any interaction and depending on the code I get several reads and not all have the same result.&lt;BR /&gt;The difficulty is stabilizing the actual result.&lt;/P&gt;&lt;P&gt;So, what is the use of these requests? Debugging situations?&lt;/P&gt;&lt;P&gt;I believe I have seen this kind of requests in Graphisfot objects but they don't seem to produce the same errors. Maybe I am wrong...maybe they where other requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 16:27:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591705#M6422</guid>
      <dc:creator>concepsys</dc:creator>
      <dc:date>2024-03-10T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Project dependent request errors</title>
      <link>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591716#M6424</link>
      <description>&lt;P&gt;Please look for this topic in the forum (there are also some orthers) about your issues:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403" target="_blank"&gt;https://community.graphisoft.com/t5/GDL/Deprecated-parameters-amp-variables-shouldn-t-be-sometimes/m-p/353403&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You are able to use the REQUESTs in the Scripts which are marked in the Reference with a green checker.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 19:37:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Project-dependent-request-errors/m-p/591716#M6424</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2024-03-10T19:37:29Z</dc:date>
    </item>
  </channel>
</rss>

