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

Drawing update when Archicad is not in visible foreground

gunners6522
Contributor
Hi,

I have an add-on in which I'm using the DXF/DWG add-on to export drawings. What I'm currently having issues with, is making sure the drawings are fully updated before they are being exported. When I export a drawing, my procedure is to change the database and window to the drawing I need to export and finally I zoom to fit in order to make sure the whole drawing is being updated (APIDb_ChangeCurrentDatabaseID, APIDo_ChangeWindowID, APIDo_ZoomID). This all works really well.

However, when I minimize Archicad or bring another window in front of Archicad, while exporting drawings, many of them will not update and this results in missing content in the exported drawings.

Do people have any experience with forcing a complete drawing update when the Archicad window is not visible? I'm also currently experimenting with "WinUser.h" in order to force the Archicad window in front, before each drawing export, but haven't been succesful yet.
0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!