<?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: Saving add-on data (customisation) for future Archicad sessions in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309077#M1807</link>
    <description>&lt;P&gt;Yes, the Add-On can store custom data in user preferences. See this tutorial:&amp;nbsp;&lt;A href="https://archicadapi.graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-3" target="_blank" rel="noopener"&gt;https://archicadapi.graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me quote from that tutorial blog post:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN style="font-family: inherit; font-size: 16px;"&gt;Archicad API provides support to store data in several places:&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;The preferences file: The data will be linked to the user’s computer, not the database. It means it will be the same regardless the actual plan file the user is working on.&lt;/LI&gt;
&lt;LI&gt;The Archicad plan file: This method links data to the database itself so it will act like any other BIM data (e.g. it will be uploaded to BIM server).&lt;/LI&gt;
&lt;LI&gt;Associated to BIM elements: The data will act as a core data of BIM elements (e.g. the element should be reserved to modify this data).&lt;/LI&gt;
&lt;LI&gt;Stored in library parts: The data will be stored in a special tagged section of the library part, and “travel” with it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;When storing the state of the user interface, storing data in preferences is usually the best choice. It won’t affect the database, or any other users in a teamwork project.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So it's up to you which method do you choose. You can store the data in the project/database (that way the data will transfer to the BIMcloud and all the users will get it) or you can store that in the actual user's computer etc...&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 14:07:12 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2021-10-12T14:07:12Z</dc:date>
    <item>
      <title>Saving add-on data (customisation) for future Archicad sessions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309034#M1806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way for an add-on to save some data in a local installation, like some custom user-settings, that could be loaded the next time the add-on loads?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 08:19:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309034#M1806</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2021-10-12T08:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saving add-on data (customisation) for future Archicad sessions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309077#M1807</link>
      <description>&lt;P&gt;Yes, the Add-On can store custom data in user preferences. See this tutorial:&amp;nbsp;&lt;A href="https://archicadapi.graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-3" target="_blank" rel="noopener"&gt;https://archicadapi.graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me quote from that tutorial blog post:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN style="font-family: inherit; font-size: 16px;"&gt;Archicad API provides support to store data in several places:&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;The preferences file: The data will be linked to the user’s computer, not the database. It means it will be the same regardless the actual plan file the user is working on.&lt;/LI&gt;
&lt;LI&gt;The Archicad plan file: This method links data to the database itself so it will act like any other BIM data (e.g. it will be uploaded to BIM server).&lt;/LI&gt;
&lt;LI&gt;Associated to BIM elements: The data will act as a core data of BIM elements (e.g. the element should be reserved to modify this data).&lt;/LI&gt;
&lt;LI&gt;Stored in library parts: The data will be stored in a special tagged section of the library part, and “travel” with it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;When storing the state of the user interface, storing data in preferences is usually the best choice. It won’t affect the database, or any other users in a teamwork project.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So it's up to you which method do you choose. You can store the data in the project/database (that way the data will transfer to the BIMcloud and all the users will get it) or you can store that in the actual user's computer etc...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:07:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309077#M1807</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2021-10-12T14:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Saving add-on data (customisation) for future Archicad sessions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309250#M1808</link>
      <description>&lt;P&gt;Ok, thanks, I'll try that.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 07:07:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/309250#M1808</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2021-10-14T07:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Saving add-on data (customisation) for future Archicad sessions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/338959#M1809</link>
      <description>&lt;P&gt;Hi Tibor,&lt;/P&gt;&lt;P&gt;I was able to save data of individual variables. Is there a way to save std::map or std::pair&amp;nbsp;(or any other pairing or nesting datatype) in the local preferences file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 15:17:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Saving-add-on-data-customisation-for-future-Archicad-sessions/m-p/338959#M1809</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2022-05-20T15:17:12Z</dc:date>
    </item>
  </channel>
</rss>

