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

3d Model dump example?

I am trying to learn the basics of the API. I usually learn simply by example. Its easier for me. I would like to ask if there is somewhere an example of a model dump. I mean loop through all elements and for each element output geometry materials an...

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

Save as HTML doesnot work for the Custom text window.

I planned to use the Custom text window ( APIWind_MyTextID ) for my reports. I hoped, that Save As HTML and tabulated text options will work like it works for Calculation lists. I used similar formatting (using = and | ). However it does not work. An...

Oleg by Advocate
  • 4005 Views
  • 0 replies
  • 0 likes

Add-on suddenly stops working

I've been working on an Add-on for AC9. Going fine, starting to get the hang of the ACAPI (and C++ ). Suddenly, ArchiCAD is telling me that the Add-on cannot be loaded. Checking in the Add-on manager, I see: The file is either not an Add-On or an out...

Anonymous by Not applicable
  • 23277 Views
  • 15 replies
  • 0 likes

Development in C# anyone?

Has anyone given this a try yet? I've read the 'Non Visual C++ Development' document several times now. I figured I'd at least see what happens. It shouldn't be hard in C# to use the ACAP_DLL.apx or to implement the initialization and termination fun...

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

libPart_updateSection problems

Hello, When I change a default value of a library part parameter for some strange reason the option 'set as default' on the library parts interface script is getting turned off. This is in AC v7. My code basically does: ACAPI_LibPart_GetSect_ParamDef...

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

__fastcall issue?

Using the rendering API I bumped into the following problem: To use the FreeImage library I include its header and link its .lib file. The whole library uses __cdecl. It has function names like this: FreeImage_Save(...) In the .lib it looks like this...

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

drwIndex, send to front/back

Hello, I want to programmatically send elements to front/back and am finding strange things with element.header.drwIndex. According to the docs: drwIndex The index of the element in drawing order. It is important for bring to front/send to back type ...

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

Independent details

API 6.1 allows create and delete independend detail database now. It is possible to get all detail database ids. But I didnt find a way to change the IdStr and the name of a database ( at last the name ). And I didn find a way to get the IdStr and th...

Oleg by Advocate
  • 4223 Views
  • 1 replies
  • 0 likes

GDL and API in Layout Mode (Integrated Workflow)

Djordje wrote:As one of the most important news will be PlotMaker integration into ArchiCAD, how do the GDL/API gurus see the playing field now? GDL in PlotMaker was a loooong standing wish; now it is a reality. I am assuming, as Djordje, that the ND...