Choose your top Archicad wishes!

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

Suppressing Warning Message Dialog Box at Opening

Hoa Tu
Hi All,

I have an API which will open all the PLN files in the selected folder one at a time to process some tasks.

The API works fine until when it encounters a warning message dialog box such as duplicated library parts or missing file links etc.. in the opening of a file.

My question: Is there a way to suppress the warning messages so the API can loop through all the files without interruption by the warning messages.

Graphisoft Alumni
Graphisoft Alumni
If you use commands, such as ACAPI_Command_Call, you can pass the parameter 'silentMode' with true value, so no dialogue will appear until the command is finished.

err = ACAPI_Command_Call (&mdid, 'GDCO', 1, parHdl, nullptr, /* silentMode = */ true);
For more info, see:

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!