BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Is there any Event on Drawing update finish?

Anonymous
Not applicable
Hello everyone.
I try to print Layout into PDF via ACAPI. In 'Drawing Selection Settings' window there are 2 'Update Type' settings: Auto and Manual. When I open window of Layout item via ACAPI_Automate(APIDo_ChangeWindowID,...) control is returned immediately with no error. However window actually is starting to update. In this case empty drawing will be printed.
I've tried to subscribe to all events via ACAPI_Notify_CatchProjectEvent, but no update finish event is caught.

Is there a way to get Drawing update process finish event or any other means of getting updated drawing?

Thanks in advance.
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
Hi Alexander,

No, there isn't any such event, because the the Drawing update works by posting an event to ARCHICAD's event queue, which means it'll execute at a later time.
Why don't you publish the drawings instead?

Best, Akos
Learn and get certified!