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

[???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
  • 2156 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
  • 1845 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
  • 2817 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
  • 1723 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
  • 1283 Views
  • 1 replies
  • 0 likes

ArchiCAD 17 and VS C++ Express?

Hi, I am learning archicad and trying to open an existing example from API Development Kit in VS Express C++. I am having trouble to run the example. However, I installed all the necessary components and programs. This error window pops up all the ti...

Anonymous by Not applicable
  • 5212 Views
  • 5 replies
  • 0 likes

Drawing Title

When I created the drawing with title, the title is not what I expect it it should be. From the attached image, the first drawing is created through API while the second drawing is created manually. Is this error on my code: elem.drawing.title.libInd...