Hello,
Is it possible to create an Inventor add-in connected with Vault?
The goal: create a command "Open drawing" who will list all drawing linked with the opened file.
Why don't using "Show details" and then open the linked drawings? Because this "open command" can open the drawing with "latest version none release-bised".
In this case when using this workflow, there is a "As Design" bug...
1) Create a part - Rev A
2) Create a drawing for this part - Rev A
3) Release both.
4) Close all
5) Open the part
6) Change state from Inventor to "Work In Progress" (Rev A => Rev B)
7) Perform change open the part
😎 Check-in the part
9) Open the drawing with Show Details/Open
10) The drawing is opened and show in the graphical windows the revision B of the part but in the Vault Browser and in the Workspace the part is now in Revision A....
Then I want to create our own command in order to have a workaround for that.
Thanks in advance.
Hi,
You can use the Vault API in an Inventor Add-In. I am not finding an existing example that does what you describe however. Below are some resources for learning the Vault API. The Vault SDK has examples that show how the API is used to access vaults. This one accesses files:
C:\Program Files (x86)\Autodesk\Autodesk Vault 2014 SDK\VS10\VB\VaultList
API Help is here on my system:C:\Program Files (x86)\Autodesk\Autodesk Vault 2014 SDK\docs"
This DevBlog post has an Inventor Add-In that uses the Vault API:
http://adndevblog.typepad.com/manufacturing/2013/09/autocad-2014-vault-add-in-connection.html
This DevBlog post discusses how to checkout files:
http://adndevblog.typepad.com/manufacturing/2013/06/checkout-checkin-a-file-in-vault-2014.html
Please keep in mind that adding a new assembly to the Vault is not supported. (need to use the Vault Plug-In)
This blog has a lot of material on the Vault API:
http://justonesandzeros.typepad.com/
You can use a tool like Fiddler to see what function calls the Vault Plug-In is doing in Inventor. (or in Vault Explorer)http://justonesandzeros.typepad.com/blog/2012/03/fiddling-with-the-vault-api.html
Thanks,
Wayne