<?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: Why does the Addon Menu Structure  not rebuild? (Mac) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252332#M3371</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
An Add-On can register menus only from it's RegisterInterface function by using ACAPI_Register_Menu.&lt;BR /&gt;
The RegisterInterface function of the Add-On will be called only once when ARCHICAD loads your Add-On during startup.&lt;BR /&gt;
So if you rebuild your Add-On and copy it to the Add-Ons folder it's normal that the registered menu of your Add-On won't change. You have to restart ARCHICAD (or unload and reload your Add-On from the Add-On Manager dialog inside the Options main menu) to force reloading your Add-On.</description>
    <pubDate>Tue, 23 Oct 2018 18:54:54 GMT</pubDate>
    <dc:creator>Tibor Lorantfy</dc:creator>
    <dc:date>2018-10-23T18:54:54Z</dc:date>
    <item>
      <title>Why does the Addon Menu Structure  not rebuild? (Mac)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252331#M3370</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hey everyone,&lt;BR /&gt;&lt;BR /&gt;i set up the examples from the 21 API and everything works fine except for one thing. After the first build the addon doesn't register code changes to the menu string ressources in the grc when i rebuild. So the addon doesn't change its menu names in Archicad when i replace it with the new build. I tried making the changes before i build and drop it into Archicad addons and there it worked fine. So my guess was that Archicad stores some information somewhere and i found some hints on this forum but no complete solution. I tried:&lt;BR /&gt;&lt;BR /&gt;-clean build in xcode&lt;BR /&gt;-clean build folder in xcode&lt;BR /&gt;-delete the cage folders of Archicad&lt;BR /&gt;&lt;BR /&gt;None of this worked so far so i would greatly appreciate any hint that can help me solve this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Oct 2022 11:36:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252331#M3370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-05T11:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Addon Menu Structure  not rebuild? (Mac)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252332#M3371</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
An Add-On can register menus only from it's RegisterInterface function by using ACAPI_Register_Menu.&lt;BR /&gt;
The RegisterInterface function of the Add-On will be called only once when ARCHICAD loads your Add-On during startup.&lt;BR /&gt;
So if you rebuild your Add-On and copy it to the Add-Ons folder it's normal that the registered menu of your Add-On won't change. You have to restart ARCHICAD (or unload and reload your Add-On from the Add-On Manager dialog inside the Options main menu) to force reloading your Add-On.</description>
      <pubDate>Tue, 23 Oct 2018 18:54:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252332#M3371</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2018-10-23T18:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Addon Menu Structure  not rebuild? (Mac)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252333#M3372</link>
      <description>&lt;BLOCKQUOTE&gt;Tibor wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
An Add-On can register menus only from it's RegisterInterface function by using ACAPI_Register_Menu.&lt;BR /&gt;
The RegisterInterface function of the Add-On will be called only once when ARCHICAD loads your Add-On during startup.&lt;BR /&gt;
So if you rebuild your Add-On and copy it to the Add-Ons folder it's normal that the registered menu of your Add-On won't change. You have to restart ARCHICAD (or unload and reload your Add-On from the Add-On Manager dialog inside the Options main menu) to force reloading your Add-On.
&lt;/BLOCKQUOTE&gt;

Thanks a lot Tibor! That helped. Seemes like i didn't try the obvious solutions in the end...</description>
      <pubDate>Thu, 25 Oct 2018 09:53:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-does-the-Addon-Menu-Structure-not-rebuild-Mac/m-p/252333#M3372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-25T09:53:10Z</dc:date>
    </item>
  </channel>
</rss>

