<?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: Values limiting integer in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613959#M6764</link>
    <description>&lt;P&gt;That's what I thought, it was getting swapped out for a number great than 0 in the object itself, but once I had it in a project the value was no longer being swapped out. I attached a screen recording just for reference. I tried changing the range value to a number greater than zero, like 3, and it still would bump it up to a 4 in the object, but in the project it would behave like its greater than or equal to 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing it to actually be greater than or equal to 1 did the trick though, thanks for the help.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 16:16:29 GMT</pubDate>
    <dc:creator>Alex C</dc:creator>
    <dc:date>2024-07-03T16:16:29Z</dc:date>
    <item>
      <title>Values limiting integer</title>
      <link>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613952#M6762</link>
      <description>&lt;P&gt;Hi, I am trying to use VALUES to limit the input of parameters mn1 and mn2 to be greater than zero, so that I don't get errors in my 2D script. I set up the Values range in my parameter script, and they do seem to be preventing me from imputing a zero while I am within the object editor. When I actually load the object a project it will still let me enter a zero. Does anyone know why this might be happening? Thanks&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;VALUES	"mn1" RANGE (0,)
VALUES	"mn2" RANGE (0,)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-07-03 at 11.08.32 AM.png" style="width: 641px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/65707i60823D0AA2A2401D/image-dimensions/641x228?v=v2" width="641" height="228" role="button" title="Screen Shot 2024-07-03 at 11.08.32 AM.png" alt="Screen Shot 2024-07-03 at 11.08.32 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 02:40:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613952#M6762</guid>
      <dc:creator>Alex C</dc:creator>
      <dc:date>2024-07-05T02:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Values limiting integer</title>
      <link>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613957#M6763</link>
      <description>&lt;P&gt;I cannot reproduce that. You can type it in, but Archicad will always swap it out for the next possible number.&lt;/P&gt;
&lt;P&gt;The screenshot shows exactly that. It's a hint, that you can only type in numbers greater than 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not like that, do this instead:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;VALUES	"mn1" RANGE [1,)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runxel_0-1720021622629.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/65578iD2B2E7CB8D23D443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="runxel_0-1720021622629.png" alt="runxel_0-1720021622629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 15:47:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613957#M6763</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2024-07-03T15:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Values limiting integer</title>
      <link>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613959#M6764</link>
      <description>&lt;P&gt;That's what I thought, it was getting swapped out for a number great than 0 in the object itself, but once I had it in a project the value was no longer being swapped out. I attached a screen recording just for reference. I tried changing the range value to a number greater than zero, like 3, and it still would bump it up to a 4 in the object, but in the project it would behave like its greater than or equal to 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing it to actually be greater than or equal to 1 did the trick though, thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 16:16:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Values-limiting-integer/m-p/613959#M6764</guid>
      <dc:creator>Alex C</dc:creator>
      <dc:date>2024-07-03T16:16:29Z</dc:date>
    </item>
  </channel>
</rss>

