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

Crash with ACAPI_Environment (APIEnv_Get3DImageSetsID, ...

LABPP
Contributor

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?

2 REPLIES 2

Hi,

There was a very similar question with an answer from a GS employ just yesterday (https://community.Graphisoft.com/t5/Developer-forum/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350913/...). 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

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!