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

VaultOption

JoAntt
Enthusiast

VaultOption

JoAntt
Enthusiast
Enthusiast

I use this to check out files

 

invApp.CommandManager.ControlDefinitions.Item("VaultCheckoutTop")

 

How do i define options with this?

Its the closest i can find that may have something to do with it.

 

invApp.CommandManager.ControlDefinitions.Item("VaultOption")

 

I need to set the "Include children" and so on.

 

 

0 Likes
Reply
Accepted solutions (1)
404 Views
4 Replies
Replies (4)

bradeneuropeArthur
Mentor
Mentor

You need to use the Vault API for that kind of things. Only with the Inventor api this will not work.

Regards,

Arthur Knoors

Autodesk Affiliations:

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: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 !

0 Likes

g.georgiades
Advocate
Advocate
Accepted solution

Find this file here

C:\Users\<USERNAME>\AppData\Roaming\Autodesk\Inventor 2023 Vault Addin\ApplicationPreferences.xml

 

If Inventor is closed - you can simply modify this file and the changed settings will take effect the next time you open Inventor.

 

If Inventor is open - read the ID and Name from the file and you can use this iLogic snippet to set the values.

 

 

Imports Autodesk.DataManagement.Client.Framework.Forms
AddReference "Autodesk.DataManagement.Client.Framework.Forms.dll"

'Library.ApplicationPreferences.Load() 'Load modified settings if file edited outside of Inventor process.

Library.ApplicationPreferences.Set("CheckInDialogOptions", "IncludeChildren", True) 'Directly sets the setting right from the iLogic Rule.

 

 

See this post to edit vault prompts. Those are handled differently.

https://forums.autodesk.com/t5/inventor-programming-ilogic/is-there-a-why-to-change-promt-or-not-bei...

 

ggeorgiades_0-1708713532964.png

 

 

JoAntt
Enthusiast
Enthusiast
Thank you!
0 Likes

Skadborg.NTI
Advocate
Advocate

Oops - wrong thread

0 Likes