<?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 Custom Toolbox panel in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184250#M5263</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Is there a way for you to add a custom panel in the toolbox?&lt;BR /&gt;I already know how to create a new custom element (via ACAPI_Register_Subtype as seen below), but the thing is you need to add it via Work Environment after loading the add-on.&lt;BR /&gt;(custom object subtype)&lt;BR /&gt;in RegisterInterface()...
&lt;PRE&gt;ACAPI_Register_Subtype('ALCM', 132, true, 32600, 32561, 32562, TBoxGroup_Objects, API_TBoxEnabled_FloorPlan | API_TBoxEnabled_ModelSection, NULL);
&lt;/PRE&gt;
What I want to achieve is to put this in a custom drop-down panel / toolbox group automatically by code right after loading the add-on.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Aug 2023 12:48:59 GMT</pubDate>
    <dc:creator>Erenford</dc:creator>
    <dc:date>2023-08-01T12:48:59Z</dc:date>
    <item>
      <title>Custom Toolbox panel</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184250#M5263</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Is there a way for you to add a custom panel in the toolbox?&lt;BR /&gt;I already know how to create a new custom element (via ACAPI_Register_Subtype as seen below), but the thing is you need to add it via Work Environment after loading the add-on.&lt;BR /&gt;(custom object subtype)&lt;BR /&gt;in RegisterInterface()...
&lt;PRE&gt;ACAPI_Register_Subtype('ALCM', 132, true, 32600, 32561, 32562, TBoxGroup_Objects, API_TBoxEnabled_FloorPlan | API_TBoxEnabled_ModelSection, NULL);
&lt;/PRE&gt;
What I want to achieve is to put this in a custom drop-down panel / toolbox group automatically by code right after loading the add-on.&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 12:48:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184250#M5263</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2023-08-01T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Toolbox panel</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184251#M5264</link>
      <description>Hi Erenford, &lt;BR /&gt;
 &lt;BR /&gt;
It's not possible to create a new toolbox group. &lt;BR /&gt;
 &lt;BR /&gt;
If it's very important for you I can add it as a feature request, and maybe we can develop this for you in the next versions. &lt;BR /&gt;
 &lt;BR /&gt;
Regards, &lt;BR /&gt;
Tibor</description>
      <pubDate>Mon, 30 Jun 2014 11:22:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184251#M5264</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2014-06-30T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Toolbox panel</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184252#M5265</link>
      <description>Thank you but its no longer important since I already did a quick fix by saving it in the profile / tool schemes.&lt;BR /&gt;
&lt;BR /&gt;
I have another problem though regarding the subtype defaults. For some reason every time Archicad starts it copies whatever the default object of the object tool rather than using the attached gsm file. The odd thing is that the object isn't even available in the custom element, only the gsm file can be chosen. I already fixed this by changing the default by code when the tool is clicked, but I was wondering if this is a bug or what?&lt;BR /&gt;
&lt;BR /&gt;
Another one is with the icons of the custom panel in the custom tool's settings. The icons of the panel is in a lcf file (all it contains is a folder with the icons in it) and the icons will appear if it is manually added in the library manager. Since the gsm file is already in the grc, I was wondering if you could also attach the lcf file there and have the gsm recognize it.</description>
      <pubDate>Wed, 02 Jul 2014 02:39:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Custom-Toolbox-panel/m-p/184252#M5265</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2014-07-02T02:39:02Z</dc:date>
    </item>
  </channel>
</rss>

