<?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: Adding Icons to Sub‑Menu Items and Changing Them Dynamically in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680291#M10630</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also tried this a while ago (~3 years ago from my notes) and found the same restriction as you did. I vaguely remember that I even found the restriction documented but couldn't find anything about it again. So it might not actually be documented anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Bernd&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 15:16:58 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2025-10-16T15:16:58Z</dc:date>
    <item>
      <title>Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679059#M10608</link>
      <description>&lt;P&gt;I have two questions about handling menu items through the Archicad API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Icons for sub‑menu items&lt;/STRONG&gt;&lt;BR /&gt;Is it possible to associate an icon with the "Sub-menu Item" provided in the following GRC file snippet?&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;'STR#' ID_ADDON_MENU "Add-On Menu Strings" {
/* [  ] */ "Main Menu Item"
/* [  ] */ "Sub-menu Item"
/* [ 1] */     "First Command Menu Item^E3^ES^EE^EI^ED^ET^10002"
/* [ 2] */     "Second Command Menu Item^E3^ES^EE^EI^ED^ET^10003"
}​

'STR#' ID_ADDON_MENU_PROMPT "Add-On Menu Strings" {
/* [  ] */ "Main Menu Item"
/* [  ] */ "Sub-menu Item"
/* [ 1] */     "First Command Menu Item"
/* [ 2] */     "Second Command Menu Item"
}​&lt;/LI-CODE&gt;&lt;P&gt;Writing something like "Sub-menu Item^10001" (or using other escape sequences) has no effect during menu registration, at runtime the menu label simply shows the escape codes as plain text:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;GSErrCode __ACDLL_CALL RegisterInterface (void)
{
	GSErrCode err = ACAPI_MenuItem_RegisterMenu (ID_ADDON_MENU, ID_ADDON_MENU_PROMPT, MenuCode_UserDef, MenuFlag_Default);

	return err;
}​&lt;/LI-CODE&gt;&lt;P&gt;I noticed that Archicad itself shows sub-menu items with icons at the same nesting level as mine (even for other add-ons), but I cannot reproduce this through the API. Are&amp;nbsp;those icons assigned internally?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Changing icons dynamically&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to change dynamically the icons associated with the sub or at least with the command menu items at runtime?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 12:07:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679059#M10608</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-07T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679727#M10617</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Your method for adding icons to menus in grc files looks ok to me - are the icon resources also present in the add-on, i.e. do you describe these icons in a grc file too? Certainly this is possible.&lt;/LI&gt;
&lt;LI&gt;I don't know of a function to change the icon. There are methods to set a menu item as ticked or disabled, or to change the text.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 13 Oct 2025 14:18:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679727#M10617</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-10-13T14:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679744#M10618</link>
      <description>&lt;P&gt;First of all, thank you very much for taking the time and effort to look into my question — I really appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes — the icons are explicitly described in the&amp;nbsp;&lt;FONT color="#993366"&gt;Sources/AddOnResources/RFIX/AddOnFix.grc&lt;/FONT&gt; file. For example:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include "ResourceIDs.hpp"

'MDID' 32500 "Add-On Identifier" {
    MDID_DEVELOPER_ID
    MDID_PRODUCT_ID
}

'GICN' 10001 "SubMenuItemIcon" {
    "SubMenuItemIcon"
}

'GICN' 10002 "FirstCommandMenuItemIcon" {
    "FirstCommandMenuItemIcon"
}

'GICN' 10003 "SecondCommandMenuItemIcon" {
    "SecondCommandMenuItemIcon"
}&lt;/LI-CODE&gt;&lt;P&gt;The string identifiers ("&lt;FONT color="#99CC00"&gt;SubMenuItemIcon&lt;/FONT&gt;", "&lt;FONT color="#99CC00"&gt;FirstCommandMenuItemIcon&lt;/FONT&gt;", and "&lt;SPAN&gt;&lt;FONT color="#99CC00"&gt;SecondCommandMenuItemIcon&lt;/FONT&gt;&lt;FONT color="#000000"&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;) correspond directly to the SVG filenames stored in &lt;FONT color="#993366"&gt;Sources/AddOnResources/RFIX/Images&lt;/FONT&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SubMenuItemIcon_18x18.svg&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;FirstCommandMenuItemIcon_18x18.svg&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SecondCommandMenuItemIcon_18x18.svg&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Here, the suffix (&lt;FONT color="#99CC00"&gt;_18x18&lt;/FONT&gt;) defines the base size of the icon.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;During the successful build process, these SVGs are automatically converted into multiple rasterized formats, which can be located under &lt;FONT color="#993366"&gt;Make/Build.Win.x64.28.0.0.INT/AddOnResourceObjects&lt;/FONT&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SubMenuItemIcon.png&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SubMenuItemIcon&amp;amp;96.ico&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SubMenuItemIcon&amp;amp;192.ico&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;SubMenuItemIcon@2.00x.png&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;(and similar file sets for &lt;FONT color="#99CC00"&gt;FirstCommandMenuItemIcon&lt;/FONT&gt; and &lt;FONT color="#99CC00"&gt;SecondCommandMenuItemIcon&lt;/FONT&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, the intermediate and compiled resource files — &lt;/SPAN&gt;&lt;FONT color="#993366"&gt;AddOnFix.grc.i&lt;/FONT&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;FONT color="#993366"&gt;AddOnResourceObjects.res&lt;/FONT&gt;&lt;SPAN&gt; — are also generated correctly as part of the build, confirming that the resource pipeline is working end‑to‑end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One detail I have noticed: if I use the escape sequence &lt;FONT color="#993366"&gt;^10001&lt;/FONT&gt; for the command menu items, the corresponding icon appears as expected. However, at the sub‑menu item level the same approach does not display the icon. &lt;SPAN&gt;At runtime, the sub-menu item label simply shows the escape codes as plain text:&amp;nbsp;&lt;FONT color="#99CC00"&gt;Sub-menu Item^10001&lt;/FONT&gt;&lt;/SPAN&gt;. This suggests that while the resource is correctly defined and built, the sub‑menu items may not support icon references in the same way as command menu items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So yes — all icons are declared in the &lt;/SPAN&gt;&lt;FONT color="#993366"&gt;.grc&lt;/FONT&gt;&lt;SPAN&gt; file and provided as SVG resources, with the build system generating the required PNG/ICO variants automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 15:51:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679744#M10618</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-13T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679764#M10619</link>
      <description>&lt;P&gt;Looks like this is a Windows project. If so, have you defined a .rc file for the add-on resources? And does that include the output from converting the images?&lt;/P&gt;
&lt;P&gt;For example, if I define images in a file called "AddonImagesFix.grc", this results in an output file called "AddonImagesFix.ro" from the resource conversion. I then include that in the Addon.rc file like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#include "AddonImagesFix.ro"
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Oct 2025 19:01:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679764#M10619</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-10-13T19:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679775#M10622</link>
      <description>&lt;P&gt;Yes, this is indeed a Windows project. I also have a folder at:&amp;nbsp;&lt;FONT color="#993366"&gt;Sources/AddOnResources/RFIX.win&lt;FONT color="#000000"&gt;,&amp;nbsp;which contains an &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#99CC00"&gt;AddOn.rc2&lt;/FONT&gt;&lt;FONT color="#993366"&gt;&lt;FONT color="#000000"&gt; file with the following content:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include "AddOn.grc.rc2"
#include "AddOnFix.grc.rc2"

1   ICON    LOADONCALL MOVEABLE IMPURE  ACAP.ico&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both &lt;FONT color="#99CC00"&gt;AddOn.grc.rc2&lt;/FONT&gt; and &lt;FONT color="#99CC00"&gt;AddOnFix.grc.rc2&lt;/FONT&gt; exist and are generated in the build output under:&amp;nbsp;&lt;FONT color="#993366"&gt;Make\Build.Win.x64.28.0.0.INT\AddOnResourceObjects&lt;/FONT&gt;, where t&lt;SPAN&gt;he &lt;/SPAN&gt;&lt;FONT color="#99CC00"&gt;AddOnFix.grc.rc2&lt;/FONT&gt;&lt;SPAN&gt; file includes valid references to the icons. For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;I10001&amp;amp;96   ICON "SubMenuItemIcon&amp;amp;96.ico"
I10001&amp;amp;192  ICON "SubMenuItemIcon&amp;amp;192.ico"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the resource conversion step is producing the expected &lt;FONT color="#99CC00"&gt;.rc2&lt;/FONT&gt; files, and they are properly included in the project’s resource script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If instead of the original &lt;FONT color="#99CC00"&gt;.grc&lt;/FONT&gt; file I use the following simplified variant&amp;nbsp;— where the sub‑menu item is treated as a single command menu item and no additional command menu items are declared:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;'STR#' ID_ADDON_MENU "Add-On Menu Strings" {
/* [  ] */ "Main Menu Item"
/* [  ] */ "Sub-menu Item^E3^ES^EE^EI^ED^ET^10001"
}&lt;/LI-CODE&gt;&lt;P&gt;the expected icon is displayed correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue arises as soon as I introduce grouped command menu items under the sub-menu item (i.e., when the submenu points with a right arrow to its child items). In that case, instead of rendering the icon, the label itself is shown as plain text, including all the escape sequences, for example:&amp;nbsp;&lt;FONT color="#333399"&gt;Sub-menu Item^E3^ES^EE^EI^ED^ET^10001&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 06:18:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/679775#M10622</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-14T06:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680291#M10630</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also tried this a while ago (~3 years ago from my notes) and found the same restriction as you did. I vaguely remember that I even found the restriction documented but couldn't find anything about it again. So it might not actually be documented anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 15:16:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680291#M10630</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-10-16T15:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680388#M10635</link>
      <description>&lt;P&gt;Sorry, I misread your original question. You want an icon associated with the child menu within the parent menu. I've never tried to do this. Your resources etc all look fine&amp;nbsp;so I can only assume that this isn't supported.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 08:26:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680388#M10635</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-10-17T08:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680433#M10639</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just trid it on macOS with the Archicad 29 SDK, and it works for me.&lt;/P&gt;
&lt;P&gt;I added the MoreOptions_16x16.svg icon from DG_Test to the Interface_Functions/RFIX/Images folder, then modified the Interface_FunctionsFix.grc resource:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;'GICN'&lt;/SPAN&gt; &lt;SPAN&gt;32222&lt;/SPAN&gt; &lt;SPAN&gt;"More options"&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;"MoreOptions"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;'STR#'&lt;/SPAN&gt; &lt;SPAN&gt;32501&lt;/SPAN&gt; &lt;SPAN&gt;"Strings for the Menu"&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;/* [ ] */&lt;/SPAN&gt; &lt;SPAN&gt;"Test"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;/* [ ] */&lt;/SPAN&gt; &lt;SPAN&gt;"Interface Functions (AutoState)"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;/* [ 1] */&lt;/SPAN&gt; &lt;SPAN&gt;"2D, 3D, Section, Elevation, Interior Elevation^ES^EE^EI^E3^32222"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;...&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;After building the add-on, the icon appeared in the menu:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Add-on submenu with icon.png" style="width: 639px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/93298i5888005D5E57C5ED/image-dimensions/639x177?v=v2" width="639" height="177" role="button" title="Add-on submenu with icon.png" alt="Add-on submenu with icon.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please check this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Oct 2025 13:35:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680433#M10639</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-10-18T13:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680451#M10641</link>
      <description>&lt;P&gt;Hi Ákos,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This setup works for me as well (I tried to outline a very similar configuration earlier). However, in the example you described, I would like to assign an icon not to the &lt;STRONG&gt;"2D, 3D, Section, Elevation, Interior Elevation"&lt;/STRONG&gt; command menu item, but to its parent sub-menu item: &lt;STRONG&gt;"Interface Functions (AutoState)"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also precedents for this in the factory Archicad setup. For instance, take a look at "Design/&lt;FONT color="#993366"&gt;&lt;STRONG&gt;Connect&lt;/STRONG&gt;&lt;/FONT&gt;/Triming bodies", or "Files/Interoperability/&lt;FONT color="#993366"&gt;&lt;STRONG&gt;IFC&lt;/STRONG&gt;&lt;/FONT&gt;/IFC Project Manager"...&amp;nbsp;— in these cases, the &lt;FONT color="#993366"&gt;&lt;STRONG&gt;bolded&lt;/STRONG&gt;&lt;/FONT&gt; menu items already have icons assigned to them. I assume that the icon associated with the&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;Connect&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;menu item is handled internally, whereas the icon assigned to&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;IFC&lt;/STRONG&gt; &lt;/FONT&gt;should be&amp;nbsp;coming from an add‑on.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 15:02:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680451#M10641</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-17T15:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680453#M10643</link>
      <description>&lt;P&gt;Thanks for clarifying — that matches what I suspected as well. I am still hoping someone might know of a workaround or undocumented option, so any further insights would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 15:08:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680453#M10643</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-17T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680455#M10644</link>
      <description>&lt;P&gt;Thanks for confirming — it is reassuring to know I am not the only one who has run into this. I really appreciate you checking your notes and sharing that context. It does seem this limitation is consistent, even if it is not officially documented.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 15:11:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/680455#M10644</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-17T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Icons to Sub‑Menu Items and Changing Them Dynamically</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/681084#M10658</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Ákos,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just checking back to see if you had a chance to look at my reply above. I am still trying to figure out whether it is possible to assign an icon directly to the parent sub‑menu item (like &lt;STRONG&gt;Interface Functions (AutoState)&lt;/STRONG&gt;), similar to how it works in the built‑in Archicad menus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you been able to confirm if that is doable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 12:05:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Adding-Icons-to-Sub-Menu-Items-and-Changing-Them-Dynamically/m-p/681084#M10658</guid>
      <dc:creator>Corpora Geometrica</dc:creator>
      <dc:date>2025-10-22T12:05:22Z</dc:date>
    </item>
  </channel>
</rss>

