<?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 How to create folder in View Map using ArchiCAD API? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574862#M8843</link>
    <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to create a folder in View Map ( like the picture below) in ArchiCAD API C++?&lt;/P&gt;
&lt;P&gt;Can you help me do it?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="received_152507851282543.png" style="width: 418px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/57079iFF2BE128C8A9C9AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="received_152507851282543.png" alt="received_152507851282543.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2024 12:38:35 GMT</pubDate>
    <dc:creator>Tran Thanh Lo</dc:creator>
    <dc:date>2024-09-16T12:38:35Z</dc:date>
    <item>
      <title>How to create folder in View Map using ArchiCAD API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574862#M8843</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know how to create a folder in View Map ( like the picture below) in ArchiCAD API C++?&lt;/P&gt;
&lt;P&gt;Can you help me do it?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="received_152507851282543.png" style="width: 418px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/57079iFF2BE128C8A9C9AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="received_152507851282543.png" alt="received_152507851282543.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:38:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574862#M8843</guid>
      <dc:creator>Tran Thanh Lo</dc:creator>
      <dc:date>2024-09-16T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create folder in View Map using ArchiCAD API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574928#M8845</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please use the partly misleading `&lt;SPAN&gt;ACAPI_Navigator_NewNavigatorView()` function to set the first parameter's `itemType` to `&lt;/SPAN&gt;&lt;SPAN&gt;API_FolderNavItem`. In this case, the second parameter (`navigatorView`) is ignored.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best, Akos&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:53:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574928#M8845</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2023-11-10T06:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create folder in View Map using ArchiCAD API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574968#M8850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7122"&gt;@Akos Somorjai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you very much.&amp;nbsp;I followed your advice and it worked.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now can you help me with this?&lt;BR /&gt;I have created a folder and also created a view, now I want that view to be in the folder created above.&lt;BR /&gt;I do like this but it doesn't work properly. Can you look at it and tell me where I'm wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;//Create Folder
API_NavigatorItem folderItem;
BNZeroMemory(&amp;amp;folderItem, sizeof(API_NavigatorItem));

folderItem.itemType = API_FolderNavItem;
folderItem.mapId = API_PublicViewMap;

GS::ucscpy(folderItem.uName, viewName.ToUStr());

ACAPI_Navigator(APINavigator_NewNavigatorViewID, &amp;amp;folderItem, NULL, NULL);

GS::Guid parentAndChild[2];
parentAndChild[0] = APIGuid2GSGuid(folderItem.guid);// Folder guid
parentAndChild[1] = APIGuid2GSGuid(APINULLGuid);


API_NavigatorItem saveItem;
BNZeroMemory(&amp;amp;saveItem, sizeof(API_NavigatorItem));

saveItem.itemType = API_StoryNavItem;
saveItem.mapId = API_PublicViewMap;
saveItem.floorNum = story.Id;


GS::ucscpy(saveItem.uName, viewName.ToUStr());

saveItem.customName = true;
API_NavigatorView saveView;
BNZeroMemory(&amp;amp;saveView, sizeof(API_NavigatorView));
ACAPI_Navigator(APINavigator_NewNavigatorViewID, &amp;amp;saveItem, &amp;amp;saveView, parentAndChild);//saveItem

&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Nov 2023 00:55:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/574968#M8850</guid>
      <dc:creator>Tran Thanh Lo</dc:creator>
      <dc:date>2023-11-15T00:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create folder in View Map using ArchiCAD API?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/575298#M8883</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7122"&gt;@Akos Somorjai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you help me, please?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 14:07:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-create-folder-in-View-Map-using-ArchiCAD-API/m-p/575298#M8883</guid>
      <dc:creator>Tran Thanh Lo</dc:creator>
      <dc:date>2023-11-13T14:07:42Z</dc:date>
    </item>
  </channel>
</rss>

