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...

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
  • 1697 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
  • 1648 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
  • 2192 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
  • 1868 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
  • 2855 Views
  • 4 replies
  • 0 likes

Cross-platform add-on

I know the Devkit contains a set of examples, but I'm struggling to make a Windows/OSX ready add-on project. Is there a template possible to have a single folder with the add-on ready for Windows and OSX? Or how would you best manage a cross-platform...

stefan by Advocate
  • 1749 Views
  • 1 replies
  • 0 likes

what can I get the updated parameter?

Now,I created a GDL File. And,I writed some codes in the parameter script of the GDL File. Ex: PARAMETERS BBB = AAA -1 In the GDL editer, if I set AAA by 3,I can get 2 from BBB.This is no problem. But, I create a object by the GDL. And change AAA to ...

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