Handle Windows dialogs during project opening¶
Project opening can pause on missing-library, license, or other dialogs.
On Windows, WinDialogHandler can recognize configured dialogs and apply your
chosen responses. Match those responses to your project workflow and language.
Add the optional dependency to your Python project:
uv add "multiconn_archicad[dialog-handlers]"
Create the connection manager with a handler at application startup:
from multiconn_archicad import MultiConn, WinDialogHandler, win_int_handler_factory
conn = MultiConn(dialog_handler=WinDialogHandler(win_int_handler_factory))
Then use the normal project-opening actions. The supplied factory targets the INT language version. It is an example to adapt, not a guarantee that every dialog will be handled.
EmptyDialogHandleris the default and does nothing.WinDialogHandlermonitors dialogs during the relevant workflow.win_int_handler_factorysupplies responses for known INT dialogs.
Review the factory implementation before unattended runs. Dialog handling can click buttons on the application's behalf; make sure the configured response matches what you would choose manually. This integration is Windows-specific.