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

Crash with ACAPI_Environment (APIEnv_Get3DImageSetsID, ...


In my program and In example Environment_Control I get Archicad crash when do this construction:


GSErrCode err = ACAPI_Environment (APIEnv_Get3DImageSetsID, &filterAndCutSettings);


Can I do something?



There was a very similar question with an answer from a GS employ just yesterday ( You can try compiling the example Add-On in release mode. Alternatively maybe it helps to explicitly initialize the structure.
Something like the following might work (I haven't tested it):

API_3DFilterAndCutSettings filterAndCutSettings = {};


Best, Bernd

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website:

No, unfortunately it doesn't help.
I just did that already.


API_3DFilterAndCutSettings filterAndCutSettings = {};

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!