Got a minute? We appreciate your feedback:

Graphisoft Learn survey
Archicad C++ API
About Archicad add-on development using the C++ API.

Forum Posts

New Developer Hub Migration Completed

[UPDATE] Hi all, thank you for your patience. We are happy to announce that the migration of the Developer Hub has been completed. The Developer Forum is officially retired. To get a quick overview of the new Developer Hub, kindly check out this arti...

ACAPI_Automate returning REFUSEDCMD error

I'm calling err = ACAPI_Automate(APIDo_CloseID, NULL, NULL, NULL);from my menu handler with a new plan open from a template and it returns APIERR_REFUSEDCMDIs there a way to close the current file?

Anonymous
Anonymous
  • 2314 Views
  • 2 replies
  • 0 likes

Add-On Menu disabled after file close

Hi, my add on menu is disabled after a file close.I added a notification handler to check the menu on file close and it reports the menu as enabled.How can I have my add-on menu enabled even when there is no file open, please?Currently I'm working wi...

Anonymous
Anonymous
  • 3771 Views
  • 5 replies
  • 0 likes

ACAPI_RegisterModelessWindow error

Hi all,I have an error in my code with the function ACAPI_RegisterModelessWindow :==========================================================================================if (ACAPI_RegisterModelessWindow (dialID, PaletteAPIControlCallBack,API_PalEna...

Anonymous
Anonymous
  • 2056 Views
  • 1 replies
  • 0 likes

Creating a selection box using the API.

Hi everyone ! Here I come again, hoping I could get some help on something I've put a lot of time in without much success.My question is the following : Is there any way to create a selection box using the API and then be able to collect elements wit...

Anonymous
Anonymous
  • 5510 Views
  • 6 replies
  • 0 likes

Help : Unable to compile archiCAD API's examples

Hello everyone !I'm currently trying to develop an add-on for ArchiCAD that would suit the needs of the society I work for.To do so, I've downloaded the API Devkit matching my version of ArchiCAD (v15).According to the documentation provided by the D...

Anonymous
Anonymous
  • 3933 Views
  • 2 replies
  • 0 likes

DGGetItemText()

Hi all,I use Api DevKit 16 but the fonction DGGetItemText() doesn't have the same number of parameter than API DevKit 15.-> "DGGetItemText (short dialId, short item, char* text, Int32 size);"Do you know by what function it is replaced in API DevKit 1...

Anonymous
Anonymous
  • 3428 Views
  • 5 replies
  • 0 likes

Creating a Zone Element

Hi,Is it possible to create a Zone Element through the API? I've tried to create an Element with type API_ZoneID but nothing happens. From what I understand, I would need to create a Polygon for creating the zone, but I can't find any information or ...

Anonymous
Anonymous
  • 2993 Views
  • 2 replies
  • 0 likes