Archicad C++ API
About Archicad add-on development using the C++ API.

Newbie questions

Anonymous
Not applicable
Hi there!
First of all I've got a problem starting the development since I dont really know how to get started.
I mean, Iv'e got much experience with programming, but no clue when it comes to using programming for archicad.
Where do I start? I mean, how do I use my code in archicad?
furthermore, how can I get an access to the project properties, for example how can I actually get the actual number of floors in my project? etc...

thanks!
6 REPLIES 6
Laszlo Nagy
Community Admin
Community Admin
First page to visit:

http://www.graphisoft.com/support/developer/

Download the API kit from here:

http://www.graphisoft.com/support/developer/downloads/index.html

Get the documentation from here:

http://www.graphisoft.com/support/developer/documentation/index.html


.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Ralph Wessel
Mentor
BBman wrote:
Hi there!
First of all I've got a problem starting the development since I dont really know how to get started.
I mean, Iv'e got much experience with programming, but no clue when it comes to using programming for archicad.
Where do I start? I mean, how do I use my code in archicad?
furthermore, how can I get an access to the project properties, for example how can I actually get the actual number of floors in my project? etc...
You'll need either XCode for the Mac OS or Visual Studio 2005 for Windows, and should be reasonably proficient in C (ideally C++).

Laszlo has given you all the relevant links to the API and documentation. It's mostly a matter of reading the documentation and looking through the examples. Your add-on code is ultimately built into a DLL that is loaded by ArchiCAD as required.

Information about storys (floors) is retrieved by calling the function ACAPI_Environment with the identifier APIEnv_GetStorySettingsID.
Ralph Wessel BArch
Anonymous
Not applicable
Thx.
Well, Iv'e got the visual studio 2010, will it do the work?
Ralph Wessel
Mentor
BBman wrote:
Iv'e got the visual studio 2010, will it do the work?
Possibly, but I don't recommend trying. You will save yourself a lot of trouble if you stick to the specified development environment.
Ralph Wessel BArch
stefan
Expert
http://www.graphisoft.com/support/developer/documentation/index.html

Where is the API documentation? It is not visible on that page. Only library, LP_XMLConvertor and ODBC driver
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad27/Revit2023/Rhino8/Unity/Solibri/Zoom
MBP2023:14"M2MAX/Sonoma+Win11
Archicad-user since 1998
my Archicad Book
Ralph Wessel
Mentor
stefan wrote:
http://www.graphisoft.com/support/developer/documentation/index.html

Where is the API documentation? It is not visible on that page. Only library, LP_XMLConvertor and ODBC driver
That page is a bit misleading. The documentation for the API is bundled with the API developer kit at: http://www.graphisoft.com/support/developer/downloads/
Ralph Wessel BArch