cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

Add-on error

RAFD
Participant

Hi, I just want to ask what I should do if my archicad 27 always crashes while opening an add-on made by our company? It's working perfectly in AC26. I manage to upgrade the add-on for AC27 but when I try to open it, it crashes.

4 REPLIES 4
LChen
Graphisoft

Hi, If API27 example addon works on your PC without any problem, then I'd suggest you to check VC project file settings carefully to see whether everything (include header/lib/etc. file path) refer to new API27 Dev Kit and try again.

HTH. 

Hi,

There can be a lot of different reasons for this. I'd try the following approach to debug your Add-On:

 

  1. Remove the Add-On from the Add-On Manager
  2. Restart Archicad
  3. Attach a debugger to Archicad
  4. Set breakpoints at the start of the CheckEnvironment, RegisterInterface and Initialize functions
  5. Load the Add-On and step through the code to see when it crashes
  6. Alternatively check the stack trace when it crashes

Hope that helps,
Bernd

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
RAFD
Participant

Hi @BerndSchwarzenbacher I tried your solution, but it stopped when AC27 opened, it didn't crash or open the add-on, and no errors is found.

What stopped when AC27 opened?
Do you mean you've hit a breakpoint or something else?

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com