Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Inventor and Vault Prompts

Anonymous

Inventor and Vault Prompts

Anonymous
Not applicable

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

0 Likes
Reply
462 Views
4 Replies
Replies (4)

rjay75
Collaborator
Collaborator

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.

0 Likes

Anonymous
Not applicable

That isn't a bad thought, but it appears to only work for Inventor prompts, not Vault prompts...

0 Likes

Anonymous
Not applicable

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

 

0 Likes

Anonymous
Not applicable

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!

0 Likes