Get full filepath for drawing file from vault

Get full filepath for drawing file from vault

jani_karjalainenJFQAG
Participant Participant
190 Views
2 Replies
Message 1 of 3

Get full filepath for drawing file from vault

jani_karjalainenJFQAG
Participant
Participant

I have macro which gets drawing file name from excel and I would want to open the file in question from Vault. The tricky part is that I don't know the exact subfolder where it is located so the file needs to be searched somehow. 

 

Any tips how to get that from Vault? I know that Inventor 2024 has the built-in iLogic function for that but we are using 2021 version currently.

 

 

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

bradeneuropeArthur
Mentor
Mentor

When you know the local file search path for the drawing, you also know the Vault path.

Replace the "working folder" with "&  and the "\" with "/"!

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

Message 3 of 3

jani_karjalainenJFQAG
Participant
Participant

The file might be in subfolders that I don't know the path of. I would need to search for subfolders

0 Likes