<?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 [BUG] mapId of all the children of a navigator item in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/BUG-mapId-of-all-the-children-of-a-navigator-item/m-p/138546#M5893</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;
&lt;PRE&gt;item_data.mapId = API_LayoutMap;
// more codes
API_NavigatorItem** items;
err = ACAPI_Environment(APIEnv_GetNavigatorChildrenItemsID, &amp;amp;item_data, &amp;amp;items);
if (mErr != NoError) return;

int cnt = BMhGetSize((GSHandle)items) / sizeof(API_NavigatorItem);
for (int i = 0; i &amp;lt; cnt; i++)
    WriteReport("Children Map: %d", (*items)&lt;I&gt;.mapId);&lt;/I&gt;&lt;/PRE&gt;
This code will output the &lt;FONT color="gray"&gt;mapId&lt;/FONT&gt; of all the children of the given navigator item (&lt;FONT color="gray"&gt;item_data&lt;/FONT&gt; in this case) which is (&lt;FONT color="gray"&gt;API_UndefinedMap&lt;/FONT&gt;).&lt;BR /&gt;&lt;BR /&gt;And since they are under &lt;FONT color="gray"&gt;item_data&lt;/FONT&gt;, they all should be &lt;FONT color="gray"&gt;API_LayoutMap&lt;/FONT&gt;.&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Aug 2023 14:34:27 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2023-08-01T14:34:27Z</dc:date>
    <item>
      <title>[BUG] mapId of all the children of a navigator item</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/BUG-mapId-of-all-the-children-of-a-navigator-item/m-p/138546#M5893</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;
&lt;PRE&gt;item_data.mapId = API_LayoutMap;
// more codes
API_NavigatorItem** items;
err = ACAPI_Environment(APIEnv_GetNavigatorChildrenItemsID, &amp;amp;item_data, &amp;amp;items);
if (mErr != NoError) return;

int cnt = BMhGetSize((GSHandle)items) / sizeof(API_NavigatorItem);
for (int i = 0; i &amp;lt; cnt; i++)
    WriteReport("Children Map: %d", (*items)&lt;I&gt;.mapId);&lt;/I&gt;&lt;/PRE&gt;
This code will output the &lt;FONT color="gray"&gt;mapId&lt;/FONT&gt; of all the children of the given navigator item (&lt;FONT color="gray"&gt;item_data&lt;/FONT&gt; in this case) which is (&lt;FONT color="gray"&gt;API_UndefinedMap&lt;/FONT&gt;).&lt;BR /&gt;&lt;BR /&gt;And since they are under &lt;FONT color="gray"&gt;item_data&lt;/FONT&gt;, they all should be &lt;FONT color="gray"&gt;API_LayoutMap&lt;/FONT&gt;.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 14:34:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/BUG-mapId-of-all-the-children-of-a-navigator-item/m-p/138546#M5893</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2023-08-01T14:34:27Z</dc:date>
    </item>
  </channel>
</rss>

