- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor and Vault Prompts
Is it possible to turn off all inventor and vault prompts through iLogic? We are placing text on drawings (through iLogic) and then sending the documents to the printer, but prompts keep popping up asking "Do you want to check the file out?". These are getting annoying. I know you can go into the settings and choose to have them not prompt the user, but I don't want to manually change the settings on a whole bunch of computers.
Or can I programatically answer the prompts that pop up instead of the user having to click on the prompts?
Thanks in advance,
Allen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Haven't test to see if it stops vault prompts but setting the application silent should work.
ThisApplication.SilentOperation = True
Be sure to reset to False before the rule ends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I have a work around that i am using that works a dream.
The Catch turns VaultAddin Back on if it fails.
iLogic Version
Try
ThisApplication.SilentOperation = True
Dim oAddins As ApplicationAddIns
oAddins = ThisApplication.ApplicationAddIns
Dim oVaultAddin As ApplicationAddIn
oVaultAddin = ThisApplication.ApplicationAddIns.ItemById("{48B682BC-42E6-4953-84C5-3D253B52E77B}")
oVaultAddin.Deactivate()
'"Run your code"
oVaultAddin.Activate()
ThisApplication.SilentOperation = False
Catch
Dim oVaultAddin As ApplicationAddIn
oVaultAddin = ThisApplication.ApplicationAddIns.ItemById("{3AD251E3-02DD-4B8C-8882-86C97C80E00C}")
If oVaultAddin.Activated = False Then
oVaultAddin.Activate()
End If
ThisApplication.SilentOperation = True
End try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Thanks for the input edd_3. Since originally posting this question, I have found the commands to activate and deactivate the Vault add-in as you have outlined. I ran into problems with Inventor crashing though. If any other document was checked out, Inventor would crash instantly when I deactivated the add-in. We ended up adjusting our Vault prompts manually so that we weren't hampered by a bunch of them.
That's what we saw as the best solution to our situation.
Again, thanks for the response!