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

Questions to ArchiCAD ODBC driver 9.x

We have a question to the current ArchiCAD ODBC driver. When we send the query "SELECT * FROM OBJECTS WHERE SURFACE <> 0 AND VOLUME <> 0" to the inbuilt ArchiCAD SQL engine, all the objects are shown in the IE. Unfortunately, when I do the same query...

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

setting gdl globals from apx

Hello, In my companies very customized ArchiCAD setup, we have used the glob_user global variables to share certain global data between various library parts. I have a library part that exists on every job which sets these values (I call it the 'data...

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

Drawing polyLines

I'm getting the error APIERR_REFUSEDCMD (-2130312312) when I try to create a polyline. The code below is much simplified and with extra comments...Am I missing something? void DrawPoly(void){ API_ElementMemo memo; API_ElementMemo* pMemo = &memo; API_...

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

File IO in properties script

Properties script of a GDL object tries to write some data into a file. Activating the script from menu (Listak | Elemlista | ...) works well. However by calling ACAPI_Element_GetComponents from an add-on properties script fails to write into the fil...

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

[newbie]Window/Door ID

In API_Element structure, which field is the ID we can see it in W/D setting dialog? I read the document times and times, but failed. Thanks.

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

Custom panels

I've been poring over the panel_test example, and looking over some previous posts on adding custom panels. http://archicad-talk.graphisoft.com/viewtopic.php?p=14581 http://archicad-talk.graphisoft.com/viewtopic.php?p=17180 I understand the panel_tex...

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

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
  • 8744 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
  • 3998 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
  • 23093 Views
  • 15 replies
  • 0 likes