How to dismiss Desktop Connector dialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have a plugin that opens a model on Revit startup. We also have added appropriate event listeners to automatically dismiss all the pop up messages and warnings ( application.DialogBoxShowing and
application.ControlledApplication.FailureProcessing) It works as expected for some of our models, but for some other models we run into this dialog box:
It seems like the dialog in not being detected through our event listeners (Not sure if the dialog is launched by Revit). We can manually dismiss it and the plugin works as expected, but it defeats the whole purpose of automatically dismissing the dialogs. I have two questions:
1- Is there a way to dismiss the dialog programmatically? Maybe there is an another even we can subscribe to? Maybe there is a way through Windows APIs to get some control over that dialog box?
2- If automatically dismissing it is not an option, is there a way we can setup our linked documents so it wouldn't have any dependency over Desktop Connector? (The dialog doesn't show up for all the models)
Unfortunately we cannot guarantee that all of our machines have the latest version of Desktop Connector installed, so that's not an option.