I'm trying to create a batch process that deletes the design history of a file and then initializes it. What code do I need to have in my script such that it selects "OK" in the dialogue window that appears after each command?
Hi Joseph,
it's not possible to crete such script, because when a modal dialog (like the delete history confirmation) is displayed, it blocks MicroStation and no other script or code is processed until the dialog is closed.
But there is a workaround available, see this wiki article.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point