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

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

bschwb
Enthusiast

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

Bernd Schwarzenbacher
Archicad Add-On Developer
Get (partially free) Add-Ons at www.bschwb.com/add-ons

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

 

API_3DFilterAndCutSettings filterAndCutSettings = {};

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!