creating custom add on challanges with VS 2017 and api dev kit 23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-09
06:27 PM
- last edited on
‎2021-09-15
12:34 PM
by
Noemi Balogh
I try to create custom add-ons using VS 2017, api dev kit 22. But I have 2 problems. I couldn't run the the sample project. The tool didn't recognize the libraries. I share the photo.

I couldn't find AddOnAdmin tool. How can I reach it ? By the way, I have just free developer account. Should I pay something to have it ?
Thansk ...
- Labels:
-
Add-On (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-10 10:33 AM
In order to 'run' an add-on, you need to launch the host version of ARCHICAD, in this case ARCHICAD 22. Set VS to launch ARCHICAD 22 for testing.
Central Innovation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-10 02:36 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-10 03:36 PM
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-10 11:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-12 01:47 PM
My VS 2017 tool doesn't recognize some C files. I redownload the API kit(23) again and again. What else should I do? For this reason, my code couldn't be built, run or debugged.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-12 06:47 PM
But in the meantime -- I had a similar problem and found that:
The development kit directory must be installed in the same directory under 'Program Files/Graphisoft' as the Archicad program is installed. This is because the example files have a security lock which restricts them to the application directory. I have not figured out how to remove that lock?
Second -- double check that the Support directory is in the same root directory as the examples directory. To find the support files, the compiler will go up one directory up and then into Support. You could change this in the compiler properties page.
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-12 10:13 PM
mustafaakgure wrote:The compiler doesn't know where to look for these files, so you need to provide it with a list of relevant directories in your project. You do this in the project properties (right-click the project and click
My VS 2017 tool doesn't recognize some C files. I redownload the API kit(23) again and again. What else should I do?
You can put the dev-kit anywhere you like, but it's generally best to use relative paths from your project to the dev-kit directories for maximum portability - you only need to retain the same relationship rather than reconstructing all the paths if it's moved to another machine. I've attached another snapshot showing the paths for one of the API examples.
Central Innovation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-13 11:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-13 12:42 PM
Central Innovation