<?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 Archicad 29 - How to query interface mode (light / dark) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677048#M10565</link>
    <description>&lt;P&gt;Heya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the introduction of dark mode on macOS—how can we query if the CAD is in light or dark mode so we can adjust icons, for example? I didn't find any info about that so far, and also no new API function that sounded like it could serve this purpose.&lt;BR /&gt;Is it even possible to reload a plugin UI or a different set of icons for it at runtime when the CAD switches from dark to light mode or vice versa?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;</description>
    <pubDate>Wed, 17 Sep 2025 17:57:09 GMT</pubDate>
    <dc:creator>J_Studanski</dc:creator>
    <dc:date>2025-09-17T17:57:09Z</dc:date>
    <item>
      <title>Archicad 29 - How to query interface mode (light / dark)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677048#M10565</link>
      <description>&lt;P&gt;Heya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the introduction of dark mode on macOS—how can we query if the CAD is in light or dark mode so we can adjust icons, for example? I didn't find any info about that so far, and also no new API function that sounded like it could serve this purpose.&lt;BR /&gt;Is it even possible to reload a plugin UI or a different set of icons for it at runtime when the CAD switches from dark to light mode or vice versa?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 17:57:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677048#M10565</guid>
      <dc:creator>J_Studanski</dc:creator>
      <dc:date>2025-09-17T17:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad 29 - How to query interface mode (light / dark)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677427#M10570</link>
      <description>&lt;P&gt;&lt;EM&gt;AppearanceManager::GetMode&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;()&lt;/EM&gt; will tell you if it's dark/light mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The API will build 2 sets of icons (light/dark) and switch between them for you - no need for extra code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Text colour also dynamically changes to suit dark/light mode - s&lt;/SPAN&gt;&lt;SPAN&gt;o very little required on your part.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 07:38:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677427#M10570</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-09-22T07:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad 29 - How to query interface mode (light / dark)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677438#M10571</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We do have our own icons for our toolbar—a handcrafted set for light and dark themes, and we compiler our own resources, so no auto-switching of icons takes place. But I already implemented a way for us to support both themes.&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;Do you also know if we get some kind of event when the user switches the mode during runtime?&lt;/STRIKE&gt;&amp;nbsp;I see there's an event class next to it. &lt;STRIKE&gt;Or can Archicad only switch its own mode with a restart of the application?&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 09:37:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Archicad-29-How-to-query-interface-mode-light-dark/m-p/677438#M10571</guid>
      <dc:creator>J_Studanski</dc:creator>
      <dc:date>2025-09-22T09:37:49Z</dc:date>
    </item>
  </channel>
</rss>

