Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vault+api

12 REPLIES 12
Reply
Message 1 of 13
Anonymous
862 Views, 12 Replies

Vault+api

Hello
Is theyre a way to extract and archive from/to the vault tru visual basic?
Thanks
Phil
12 REPLIES 12
Message 2 of 13
Anonymous
in reply to: Anonymous

Vault has its own API, which is completely separate from the Inventor API.
C# and VB.NET are the recommended languages.

Vault's API is strictly used for communicating with the Vault server. There
is no way to interact with the existing Vault plug-in to Inventor, and there
is no way to customize the Vault Explorer client.

You can find more information in the Vault SDK, which gets installed
automatically with the Vault Server (ADMS). Go to your server machine and
find the "Data Management Server" install directory. There you will find
the SDK directory, which contains documentation and sample code.

Another great resource is the Vault discussion group:
http://discussion.autodesk.com/forum.jspa?forumID=101&start=0

If you tell me a bit more about what you are trying to do, I can give you
some advice on how to proceed.

Doug Redmond
Software Engineer, Autodesk Inc.
Message 3 of 13
Anonymous
in reply to: Anonymous

Hello Doug
I'd like to extract a model before adjusting parameter tru an excel file/macro (like the pulley.ipt...).
IV2008 allow me to run the macro, even if the file is not extracted.
IV11 seems to be working differently...It asked me if I wanted to extract it.
So I'd like to force the vault extraction

Phil
Message 4 of 13
Anonymous
in reply to: Anonymous

Minor thread hijack here, but is there way to add or check in files through the Vault API, ie batch add or check in of idw's? If so I will check out the SDK stuff.

Last I heard with IV110 - Vault 4 this was not possible.

Pete
Message 5 of 13
Anonymous
in reply to: Anonymous

Let me repeat the problem so that I'm sure that I understand things.
You want to make sure that the file has been checked out from Vault before
running your macro.

It is possible to automate the Vault check out and check in commands, but it
might cause conflicts with the existing Vault plug-in. I suggest using the
existing Vault plug-in as much as possible since it already has the logic
for things like file associations. The plug-in does not have an API, but I
believe there is a way to launch the menu commands from within the Inventor
API.

My above advice applies only if you are running in an Inventor context. If
you are running outside of Inventor than you need to handle the checking out
and checking in through the Vault API.


Doug Redmond
Software Engineer, Autodesk Inc.
Message 6 of 13
Anonymous
in reply to: Anonymous

Doug
Yes it will only be checked out from the excel file I'll use to change the value of the parameter(variable) of the IV active part.
If the file is already checked out, I gues I'll receive an error message I can trap, and advise the user of the problem.

Phil
Message 7 of 13
Anonymous
in reply to: Anonymous

Adding and checking in files has always been part of the Vault API since it
was introduced in Vault 3.

However, in the case of checking in or adding Inventor files, I recommend
using the Vault plug-in or Autoloader. Adding Inventor files through the
Vault API is complex because you have to worry about things like file
dependencies and BOM data. So it's considered an advanced topic.

Autodesk Developer Network (ADN) fully supports the Vault and Productstream
APIs, so that's another place you can go to for help. In fact, they just
did a webcast on the Vault API 2 weeks ago. Members can download the video
from the ADN site.
http://www.autodesk.com/joinadn


Doug Redmond
Software Engineer, Autodesk Inc.
Message 8 of 13
Anonymous
in reply to: Anonymous

I do not need to check IN, only chek OUT
Message 9 of 13
Anonymous
in reply to: Anonymous

We found what was causing the non check out.
See attached image
Thank all for your help.
It nice to know we are not alone banging our head...
Phil
Message 10 of 13
Anonymous
in reply to: Anonymous

TY for the anwer.

I am assuming "Autoloader" was added after Vault 4 since I can't find any reference to it?

Pete
Message 11 of 13
Anonymous
in reply to: Anonymous

Good point. Autoloader might not have been around for Vault 4.
Anyway, the rest of what I said still applies. You can upload files through
the API, but it might be a bit of work in the case of Inventor files.


Doug Redmond
Software Engineer, Autodesk Inc.
Message 12 of 13
Cris_Davis
in reply to: Anonymous

I set a task scheduler to do a batch check in or check out.
Message 13 of 13
mdavis22569
in reply to: Cris_Davis

this is an archived post from 2008 ....

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report