Check-in Vault from Inventor without pop-up window

Check-in Vault from Inventor without pop-up window

m_baczewski
Advocate Advocate
236 Views
2 Replies
Message 1 of 3

Check-in Vault from Inventor without pop-up window

m_baczewski
Advocate
Advocate

Hello,

 

I am preparing automation for creating models and drawings. I have already written all the logic, and everything works correctly. The only issue is that during the automatic entry of drawings or models, I get a pop-up window where I have to press OK to enter it. Is there a way to skip this window automatical?

Part of code to check in:

Dim countReferenced As Integer = oDoc.AllReferencedDocuments.Count
	
	For i As Integer = 1 To countReferenced + 2
		
		ThisApplication.ActiveDocument.Save2()
		Dim oControlDef As Inventor.ControlDefinition
		oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop")
		oControlDef.Execute()
		ThisApplication.ActiveDocument.Close
		
	Next

 

ThisApplication.SilentOperation = True

Isnt working on Vault addin, its only working for inventors pop up.

 

Can you help me? 😄

0 Likes
237 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor
You need to use the Vault API for that.
What version of Vault are you using?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

m_baczewski
Advocate
Advocate
Hi @bradeneuropeArthur

Vault professional 2022
0 Likes