Upload/CheckIn Files into Vault using inventor API

Upload/CheckIn Files into Vault using inventor API

nishantkumat5921
Enthusiast Enthusiast
442 Views
2 Replies
Message 1 of 3

Upload/CheckIn Files into Vault using inventor API

nishantkumat5921
Enthusiast
Enthusiast

Hi all,

 

I am trying to Upload/Check-In IPT/IAM into Autodesk vault using Inventor API.

I have tried below line of code but that again brings a popup for selection of relationship is there any other way to upload files from inventor directly and not use the Vault server?

Dim oControlDef As Inventor.ControlDefinition oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop") oControlDef.Execute2(True)

 

Thanks in advance

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

bradeneuropeArthur
Mentor
Mentor

You better can use the Vault API here.

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

nishantkumat5921
Enthusiast
Enthusiast

@bradeneuropeArthur thanks for the quick reply. I have tried using vault API and when uploading IAM files what happens is only the Parent file is Checked-In, the associated child files and dependents also needs to be Checked-In. So if you could share some thoughts on API for that it would be helpful.

This issue of dependency will not be there when Checking-In using inventor as inventor will take care of Uploading the dependencies.

0 Likes