<?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 Preferences not loading in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Preferences-not-loading/m-p/321949#M1890</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a palette type dialog where i save the state to preferences after the user clicks a checkbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when loading the preferences back when the dialog opens after a program restart no data is found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When debugging i found that if i save the dialog state to preferences and then load them right back they are found. It is only after a program restart when the dialog opens that no data is found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how i load and save the state using preferences:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2021-11-20 144347.png" style="width: 520px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/16097iA5F3E695AECC47C1/image-dimensions/520x747?v=v2" width="520" height="747" role="button" title="Screenshot 2021-11-20 144347.png" alt="Screenshot 2021-11-20 144347.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the same loading / saving methods for a non-palette dialog it seem to work as expected.&amp;nbsp;I realize this might not be enough information, but has anyone had similar trouble?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2021 13:57:09 GMT</pubDate>
    <dc:creator>BenjiDev</dc:creator>
    <dc:date>2021-11-20T13:57:09Z</dc:date>
    <item>
      <title>Preferences not loading</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Preferences-not-loading/m-p/321949#M1890</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a palette type dialog where i save the state to preferences after the user clicks a checkbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when loading the preferences back when the dialog opens after a program restart no data is found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When debugging i found that if i save the dialog state to preferences and then load them right back they are found. It is only after a program restart when the dialog opens that no data is found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how i load and save the state using preferences:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2021-11-20 144347.png" style="width: 520px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/16097iA5F3E695AECC47C1/image-dimensions/520x747?v=v2" width="520" height="747" role="button" title="Screenshot 2021-11-20 144347.png" alt="Screenshot 2021-11-20 144347.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the same loading / saving methods for a non-palette dialog it seem to work as expected.&amp;nbsp;I realize this might not be enough information, but has anyone had similar trouble?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 13:57:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Preferences-not-loading/m-p/321949#M1890</guid>
      <dc:creator>BenjiDev</dc:creator>
      <dc:date>2021-11-20T13:57:09Z</dc:date>
    </item>
  </channel>
</rss>

