<?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 LibraryManager::FindLibraries recommended instead of ACAPI_LibraryManagement_GetLibraries in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/LibraryManager-FindLibraries-recommended-instead-of-ACAPI/m-p/710107#M10994</link>
    <description>&lt;P&gt;Dear Developers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently we got feedback about a substantial slowdown in case of having multiple addons that use the deprecated &lt;STRONG&gt;ACAPI_LibraryManagement_GetLibraries&lt;/STRONG&gt;&lt;SPAN data-teams="true"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;in BIM Cloud projects using many libraries, like in case of the Global library.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;It fills an array of&amp;nbsp;&lt;STRONG&gt;API_LibraryInfo&lt;/STRONG&gt; structures, and fills the&amp;nbsp;&lt;STRONG&gt;bool readOnly&amp;nbsp;&lt;/STRONG&gt;member for each. At this point it's costly because it builds a connection to the appropriate BIM Cloud server, asks for permissions. In case of many addons doing this in succession it can take a lot of time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If you only want to enumerate the loaded libraries and treat them as read only, we recommend instead the&amp;nbsp;&lt;STRONG&gt;ACAPI::Library::LibraryManager::FindLibraries&lt;/STRONG&gt; function that returns an array of&amp;nbsp;&lt;STRONG&gt;ACAPI::Library::Library&lt;/STRONG&gt; objects. It contains all the relevant information, except for the &lt;STRONG&gt;readOnly&lt;/STRONG&gt; flag.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If you need to modify the contents of a BIM Cloud library from within a joined project via an addon, unfortunately there's no workaround yet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Tamás&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2026 22:09:48 GMT</pubDate>
    <dc:creator>Tamas Polyak</dc:creator>
    <dc:date>2026-07-28T22:09:48Z</dc:date>
    <item>
      <title>LibraryManager::FindLibraries recommended instead of ACAPI_LibraryManagement_GetLibraries</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/LibraryManager-FindLibraries-recommended-instead-of-ACAPI/m-p/710107#M10994</link>
      <description>&lt;P&gt;Dear Developers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently we got feedback about a substantial slowdown in case of having multiple addons that use the deprecated &lt;STRONG&gt;ACAPI_LibraryManagement_GetLibraries&lt;/STRONG&gt;&lt;SPAN data-teams="true"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;in BIM Cloud projects using many libraries, like in case of the Global library.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;It fills an array of&amp;nbsp;&lt;STRONG&gt;API_LibraryInfo&lt;/STRONG&gt; structures, and fills the&amp;nbsp;&lt;STRONG&gt;bool readOnly&amp;nbsp;&lt;/STRONG&gt;member for each. At this point it's costly because it builds a connection to the appropriate BIM Cloud server, asks for permissions. In case of many addons doing this in succession it can take a lot of time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If you only want to enumerate the loaded libraries and treat them as read only, we recommend instead the&amp;nbsp;&lt;STRONG&gt;ACAPI::Library::LibraryManager::FindLibraries&lt;/STRONG&gt; function that returns an array of&amp;nbsp;&lt;STRONG&gt;ACAPI::Library::Library&lt;/STRONG&gt; objects. It contains all the relevant information, except for the &lt;STRONG&gt;readOnly&lt;/STRONG&gt; flag.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If you need to modify the contents of a BIM Cloud library from within a joined project via an addon, unfortunately there's no workaround yet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Tamás&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2026 22:09:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/LibraryManager-FindLibraries-recommended-instead-of-ACAPI/m-p/710107#M10994</guid>
      <dc:creator>Tamas Polyak</dc:creator>
      <dc:date>2026-07-28T22:09:48Z</dc:date>
    </item>
  </channel>
</rss>

