How to build Add-on in AC27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-02
11:32 AM
- last edited on
2024-07-05
04:37 AM
by
Laszlo Nagy
Hello @All,
I am new to C++ and the ArchiCAD API in general.
I've been learning how to create a .sln file from a CmakeList.txt following the instructions I've found in our group. Honestly, I've followed the steps closely, but still can't manage to build the final product, which is the add-on .apx file. I have some questions and really need your help:
- When I installed Visual Studio (VS), both VS 2019 and VS 2022, fulfilling the requirements recommended by the site. After that, I proceeded to install the ArchiCAD API (I'm using AC27). I chose all the requirements during installation, but when I open VS 2019 and VS 2022, I can't find the Archicad Add-Ons Template. What should I do to resolve this?
After downloading archicad-addon-cmake, I followed the steps described in this article https://community.graphisoft.com/t5/Documentation/developing-an-add-on-on-c/m-p/395814#M61448, but when I reached step 9 in the image by "Joel Buehler," I couldn't complete building my .apx file. It gave me the following error:
What should I do to fix this error, or how can I build the Archicad add-on project?
Of course, I am still trying to resolve these two issues I've asked you about, but if I could get more help from you, I would really appreciate it.
Thank you!
Solved! Go to Solution.
- Labels:
-
Discussion
-
Possible Bug
-
Question
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-02 05:08 PM - edited 2024-07-02 08:49 PM
I recommend using this as a starting point:
Now we have a python script that does all the steps above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-02 01:00 PM
hehey pphamt.
Just to be clear, when you are at step 9, you where succsessfull in creating the *.sln correct?
Best Regards
Joel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-02 05:08 PM - edited 2024-07-02 08:49 PM
I recommend using this as a starting point:
Now we have a python script that does all the steps above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-03 07:19 AM
Hi Joel Buehler,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-03 07:20 AM
Hi Viktor Kovacs,
Thanks for your support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-07-03 10:33 PM
Very cool.
I recommend you link the blog of the developer site to this knowlege base. information is now kinda all over the place.
https://archicadapi.graphisoft.com/getting-started-with-archicad-add-ons
VS