working with Vault controlled components

working with Vault controlled components

NachoShaw
Advisor Advisor
232 Views
2 Replies
Message 1 of 3

working with Vault controlled components

NachoShaw
Advisor
Advisor

Hey

 

Even though i have mentioned vault, its more appropriate for Inventor as thats the issue im having right now.

 

My 1st app opens an assembly from the local vault template folder, loops through the leaf occurrences and copies them to the new location. During the copy, it removes any Read Only flag on the file. It then opens the new assembly and replaces the references for each component. This process still gives me a vault dialog about wanting to check out the files even though i have suppressed the dialogs.

 

Version 2 uses apprentice and copies an assembly similar to Pack & Go, renaming them in the collection then copying them but i still get the vault dialog.

 

Has anyone worked with vault controlled files in their code / automation and found a suitable method that works?

 

Thanks

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


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

bradeneuropeArthur
Mentor
Mentor
Yes I have indeed.
Sometimes the Vault dialogs are confusing and still popping up.
The only option with your story above (it looks like a file copier) is to unload the vault add-in shortly and then after the copy (save to new location and make the references) load it again.
I have written my selves an add-in that makes a copy design for a complete structure (dwg->assembly->parts) without having the above issues anymore. You are also able to use the Vault API to do something about it...

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

NachoShaw
Advisor
Advisor

Thanks for the reply

 

We currently use vault basic so the api is limited. Also I kinda feel the vault copy tool is way too slow a process.

 

I have a few other options to try yet so will report back on what works

 

Thanks bud

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes