We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-06-11 07:27 AM - last edited on 2024-06-19 11:29 AM by Laszlo Nagy
2024-06-12 08:32 AM
You can check new document or refer Examples code to find the changes then modify your code and solve the error one by one for AC27. For example, API_PenType is not used in AC27, you can find Example code in Attribute_test.cpp
HTH
2024-06-11 08:00 AM - edited 2024-06-11 08:03 AM
I'm trying to upgrade the add-on to AC27 but I got errors while building the add-on
2024-06-11 08:04 AM
Hi,
The file is in the following folder of API kit:
"\Support\Modules\CADInfrastructureBase\"
so please check whether you've added the path in your VS project settings.
HTH
2024-06-11 08:19 AM
I added the path but instead of fixing it from 9, I got 89 new errors. But the previews errors are gone. Does this error have to do with the API devkit? Because in version 26 it works fine.
2024-06-11 08:26 AM
Please try to add the path into your VS project Include Directory like below:
2024-06-11 09:02 AM - last edited on 2024-06-19 11:29 AM by Laszlo Nagy
Got it. But new errors appears
2024-06-11 09:24 AM
2024-06-11 09:42 AM
Can you tell me more about this "ACAPI_MigrationHeader.zip"? How will I know the correct name to use?
2024-06-11 10:21 AM
You can search the keyword then find the new name in this header file. for example,
2024-06-12 06:03 AM - last edited on 2024-06-19 11:29 AM by Laszlo Nagy
I tried including the ACAPI_MigrationHeader.hpp and now all my errors are in that file