cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Forum Posts

Using the Development Kit with Visual Studio 2022

Hi everyone, In the last couple of weeks we got several questions regarding Visual Studio 2022 and the API DevKit. If you try to use VS 2022 to build your AddOns, you have to keep in mind a few things. First, Archicad 25 and Archicad 26 is built with...

Help using ACAPI_Element_Change to change Door's "info"

I'm needing help to change the element.door.openingBase.info of all doors. I've been able to use this API function to change a Wall's info but for some reason no luck with Doors API_Element element, mask; Int32 nElem; GSErrCode err; char newID[256]; ...

Anonymous by Not applicable
  • 2073 Views
  • 3 replies
  • 0 likes

Custom Toolbox panel

Greetings, Is there a way for you to add a custom panel in the toolbox? 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. (...

Roof creation

Hi All, Do you have any sample code how to create a roof from a set of points on a single plane? Thanks, Andor

Anonymous by Not applicable
  • 1673 Views
  • 2 replies
  • 0 likes

Matlab Engine from Add on

Hey, I would like to call the Matlab Engine, but when I call Engine *ep; ep = engOpen(NULL); then I succeed to compile, but the Add-on doesn't load anymore. (I use an example provided by Matlab) I have the required libs in the solution explorer, and ...

Anonymous by Not applicable
  • 1616 Views
  • 2 replies
  • 0 likes

Get element's extended data

You can get the element's default data by ACAPI_Element_GetDefaults and its default extended data by ACAPI_Element_GetDefaultsExt. You can change the element's default data by ACAPI_Element_ChangeDefaults and its default extended data by ACAPI_Elemen...

[???BUG???] API_DetailType->pos

Whenever I create a detail using ACAPI_Element_CreateExt() function, the detail marker will be put on (0,0). So I have to call ACAPI_Element_Change() function just to re-position the detail marker. It is fine when I use ACAPI_Element_Create() functio...

Using std::string on Mac platforms

Has anyone out there had any luck getting any of the API Example programs to compile under XCODE 5 using std:string ?? I have been able to compile the examples with no problem in their existing state. However, if I try to use a C++ std::string, the c...

Anonymous by Not applicable
  • 2154 Views
  • 3 replies
  • 0 likes

How set to a text array??

I create a text-type array in GDL-object, I use it in source,but I found that I can‘t add text-type’s value to the text-type array。 EX Source: char cTmp[256]; GSHandle handle = params.value.array; BMKillHandle((GSHandle *) &handle); handle = BMAlloca...

Anonymous by Not applicable
  • 1844 Views
  • 1 replies
  • 0 likes

Add-on doesn't work on windows

Hi all, I have a very strange error with ArchiCAD 17 on windows only. In the "Extension Manager", when my add-on is loaded, the following message is displayed: “This file is an old Add-On, it cannot be used on this ArchiCAD version” I don't really un...

Anonymous by Not applicable
  • 2815 Views
  • 4 replies
  • 0 likes