<?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: AC_StoryNumber as integer in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332791#M2686</link>
    <description>&lt;P&gt;Thanks for this - unfortunately it doesn't solve the fundamental problem of Archicad returning a text parameter for the current story in the Story Marker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I solved it was to create a separate array filled with the story numbers as integers, then run a loop to match the current story (it will find an equal to with a string, but not a less-than / greater-than) with the array value.&amp;nbsp; Then I declare a variable with that integer.&lt;/P&gt;</description>
    <pubDate>Sun, 20 Mar 2022 21:36:47 GMT</pubDate>
    <dc:creator>Bruce</dc:creator>
    <dc:date>2022-03-20T21:36:47Z</dc:date>
    <item>
      <title>AC_StoryNumber as integer</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332513#M2683</link>
      <description>&lt;P&gt;I don't know why, but the parameter&amp;nbsp;AC_StoryNumber is a TEXT type, even though the story number will always be an integer.&amp;nbsp; This makes it unreliable to test in GDL whether the current story falls inside / outside a selected range, particularly when testing for negative stories (e.g. IF AC_StoryNumber &amp;gt;= -2 AND&amp;nbsp;AC_StoryNumber &amp;lt;= 6 THEN).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to query the current story (in a Story Marker, in this instance) to return an integer?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 21:59:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332513#M2683</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-03-16T21:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: AC_StoryNumber as integer</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332516#M2684</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/8946"&gt;@Bruce&lt;/a&gt;&amp;nbsp;You could try using the SPLIT function to extract the Integer value.&amp;nbsp;Have you looked at using Request with "STORY_INFO" to deliver comparison values?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 23:10:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332516#M2684</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-03-16T23:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: AC_StoryNumber as integer</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332527#M2685</link>
      <description>&lt;P&gt;I used the elevator object to learn how to get all the story info.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 02:52:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332527#M2685</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2022-03-17T02:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: AC_StoryNumber as integer</title>
      <link>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332791#M2686</link>
      <description>&lt;P&gt;Thanks for this - unfortunately it doesn't solve the fundamental problem of Archicad returning a text parameter for the current story in the Story Marker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I solved it was to create a separate array filled with the story numbers as integers, then run a loop to match the current story (it will find an equal to with a string, but not a less-than / greater-than) with the array value.&amp;nbsp; Then I declare a variable with that integer.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 21:36:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/AC-StoryNumber-as-integer/m-p/332791#M2686</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-03-20T21:36:47Z</dc:date>
    </item>
  </channel>
</rss>

