Suppressing Warning Message Dialog Box at Opening
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-24
11:40 PM
- last edited on
2022-09-28
11:01 AM
by
Daniel Kassai
2020-02-24
11:40 PM
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.
Thanks,
Hoa
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.
Thanks,
Hoa
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-20 04:19 PM
2020-03-20
04:19 PM
Hey,
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.
http://archicadapi.graphisoft.com/documentation/acapi_command_externalcall
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: