Make the dialog close programmatically, or set Autocad to never show pop-up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I am writing a plugin that goes over a bunch of autocad dwg files, opens up each file one by one, and calculates something about the drawings in each file, and then saves the result to a file.
My problem is that some of the files cause a dialog box to open for various reasons, and expects the user to close the dialog box.
This makes the process get stuck, and holds the progress from continuing.
How do I either make the dialog close programmatically, or set Autocad to never show pop-up ?
An example of a pop-up (dialog box) is : "large number of scale..." or "previous version AEC object detected.." and actually there are so many of them, so "don't show again" doesn't work. Usually these popups are not important and I dismiss them but the plugin needs to go through many files without the user closing dialog boxes.
Thanks.

