2018-07-0210:29 AM - last edited on 2022-12-0601:29 PM by Daniel Kassai
2018-07-0210:29 AM
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?
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?