2022-07-27 09:36 AM - last edited on 2022-07-27 09:50 AM by Barry Kelly
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?
2022-07-27 11:38 AM
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
2022-07-27 12:19 PM
No, unfortunately it doesn't help.
I just did that already.
API_3DFilterAndCutSettings filterAndCutSettings = {};