Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autodesk vault customization

7 REPLIES 7
Reply
Message 1 of 8
sanjitb
761 Views, 7 Replies

Autodesk vault customization

I was looking for the paths for the vault professional 2014 we have in our facility to save the file (dwg, pdf etc) from autodesk inventor idw files to vault without log in into the vault. If someone can help us by telling that path in order to save those files by writing a script. 

 

Thanks in advance.

 

Sincerely

Sanjit

7 REPLIES 7
Message 2 of 8
Vladimir.Ananyev
in reply to: sanjitb

You may use Connection.FileManager.CheckinFile(…) function to add files.   But much more difficult to save not only files but also their dependencies and all required metadata. Some more information about file relationships and attachments can be found here: http://justonesandzeros.typepad.com/blog/2010/11/attachments-and-dependencies-faq.html

It would be nice if we could use Inventor Vault addin for this purpose, but unfortunately it has no opened API.  That’s why it is safer to add CAD files via UI tools.  
See also this thread:  http://forums.autodesk.com/t5/Autodesk-Vault-Customization/Automated-method-to-add-new-Inventor-CAD-...


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 8
sanjitb
in reply to: sanjitb

Hello

I did not find the connection.file manager. checkinFile function. Where
should I look for it. I understand the difficulties involved concerning the
dependencies and/or metadata. Could you please walk me through as because
this is new for me.



Thanks for your concern.



Best Regards,



Sanjit K. Basak

Engineer (Mechanical)



AM Manufacturing

14151 Irving Ave.

Dolton, IL 60419



Phone #: 708-841-0959 ext: 142

Fax #: 708-841-2218

email: sanjitb@ammfg.com

web address:www.ammfg.com



P Please consider the environment before printing this email



This e-mail message may contain confidential or privileged information,
including sensitive patent-related information protected by state and
federal laws. If you are not the intended recipient of this message, or an
authorized representative of the intended recipient, you are prohibited from
reviewing, copying, or distributing this message, its attachments, or any
information contained in this message. If you received this message in
error, please notify the sender immediately by replying to the message and
delete this message from your system.
Message 4 of 8
Vladimir.Ananyev
in reply to: sanjitb

Look at the Vault 2014 SDK Help file:

Autodesk.DataManagement.Client.Framework.Vault.Services.Connection Namespace > IFileManager Interface > CheckinFile Method

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 5 of 8
sanjitb
in reply to: sanjitb

Hi

I am sorry. I am confused. Is this is located in my program files?

And I was trying to locate this link, but no luck

C:\Program Files (x86)\Autodesk\Autodesk Vault 2014 SDK\VS10\VB\VaultList



This link I got from online blog:
http://adndevblog.typepad.com/manufacturing/2013/06/checkout-checkin-a-file-
in-vault-2014.html



Could you please help me regarding this?



Best Regards,



Sanjit K. Basak

Engineer (Mechanical)



AM Manufacturing

14151 Irving Ave.

Dolton, IL 60419



Phone #: 708-841-0959 ext: 142

Fax #: 708-841-2218

email: sanjitb@ammfg.com

web address:www.ammfg.com



P Please consider the environment before printing this email



This e-mail message may contain confidential or privileged information,
including sensitive patent-related information protected by state and
federal laws. If you are not the intended recipient of this message, or an
authorized representative of the intended recipient, you are prohibited from
reviewing, copying, or distributing this message, its attachments, or any
information contained in this message. If you received this message in
error, please notify the sender immediately by replying to the message and
delete this message from your system.
Message 6 of 8
Vladimir.Ananyev
in reply to: sanjitb

SDK help file is located in this folder:

C:\Program Files (x86)\Autodesk\Autodesk Vault 2014 SDK\docs

Video recordings on this page

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=13433205

could be useful as well.  See Part 2 - Server Communication.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 7 of 8
sanjitb
in reply to: sanjitb

Can I assign my dwg and pdf files (when I am generating it through
inventor) to some location in local drive that it will automatically upload
to vault?



Best Regards,



Sanjit K. Basak

Engineer (Mechanical)



AM Manufacturing

14151 Irving Ave.

Dolton, IL 60419



Phone #: 708-841-0959 ext: 142

Fax #: 708-841-2218

email: sanjitb@ammfg.com

web address:www.ammfg.com



P Please consider the environment before printing this email



This e-mail message may contain confidential or privileged information,
including sensitive patent-related information protected by state and
federal laws. If you are not the intended recipient of this message, or an
authorized representative of the intended recipient, you are prohibited from
reviewing, copying, or distributing this message, its attachments, or any
information contained in this message. If you received this message in
error, please notify the sender immediately by replying to the message and
delete this message from your system.
Message 8 of 8
wayne.brill
in reply to: sanjitb

Hi Sanjit,

 

Vault does not have a folder that it uses to automatically add files to a vault by default. (You could request this type of functionality on the Vault Idea Station).

 

A custom application that checks out the idw and then checks it back in could be used to  attach files to the idw. Functions such as CheckInFile() and CheckinUploadedFile() have an associations parameter that would associate the dwg or pdf to the idw file. (a normal association not as a design visualization file) The dwg/pdf would also need to be added to the Vault. You can use the AddFile() method to do this. This SDK sample uses AddFile()

C:\Program Files (x86)\Autodesk\Autodesk Vault 2014 SDK\VS10\VB\VaultBrowserSample

 

Thanks, 

 

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report