<?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 Iterate thru GS::ObjectState list in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Iterate-thru-GS-ObjectState-list/m-p/669009#M10490</link>
    <description>&lt;P&gt;I'm handling with&amp;nbsp;API_AddOnCommand and I'm trying to send a json to my addon but this json has an array field, that should be read in order to proceed. How can I iterate thru a&amp;nbsp;GS::ObjectState when it's a list?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jul 2025 21:50:38 GMT</pubDate>
    <dc:creator>BrunoValads</dc:creator>
    <dc:date>2025-07-08T21:50:38Z</dc:date>
    <item>
      <title>Iterate thru GS::ObjectState list</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Iterate-thru-GS-ObjectState-list/m-p/669009#M10490</link>
      <description>&lt;P&gt;I'm handling with&amp;nbsp;API_AddOnCommand and I'm trying to send a json to my addon but this json has an array field, that should be read in order to proceed. How can I iterate thru a&amp;nbsp;GS::ObjectState when it's a list?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 21:50:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Iterate-thru-GS-ObjectState-list/m-p/669009#M10490</guid>
      <dc:creator>BrunoValads</dc:creator>
      <dc:date>2025-07-08T21:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate thru GS::ObjectState list</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Iterate-thru-GS-ObjectState-list/m-p/669182#M10491</link>
      <description>&lt;P&gt;Oh found it in the &lt;STRONG&gt;LibraryManagement_Test.cpp&lt;/STRONG&gt; example, which was using for array of strings and I adapted for an array of objects:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;GS::Array&amp;lt;GS::ObjectState&amp;gt; arrayObject;
myObject.Get(myFieldName, arrayObject);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 13:46:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Iterate-thru-GS-ObjectState-list/m-p/669182#M10491</guid>
      <dc:creator>BrunoValads</dc:creator>
      <dc:date>2025-07-09T13:46:01Z</dc:date>
    </item>
  </channel>
</rss>

