Anonymous
in reply to:
Anonymous
11-06-2017
07:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-06-2017
07:34 AM
Hello @Anonymous
You can try to set the Inventor.Application property SilentOperation, like this:
ThisApplication.SilentOperation = True
' ... do your code stuff ...
ThisApplication.SilentOperation = False
But you should probably wrap your code in a Try ... Catch ... End Try block to be sure that you always executes the last line to reset the property.
This disables most of the dialog boxes from Inventor but not all!
For the other dialog boxes which you can't disable you could either find, or make yourself, a helper program that waits for specific dialog boxes and activates the button you want.
Regards,
Jens Bejer Pedersen
Developer, Symetri A/S