Dear All,
I need to checkout & CheckIn few files (iam, ipt) which has associated files/dependencies. How can i get this done. I have a function to checkout and checkIn files and it works sucessfully but only the master file gets checked out and when i open it in inventor i get reference error. The referenced files are not checkedout. The checkin function checksIn only the master file and leaves the reference/dependent files.
How to maintain the references and do a checkout and checkIn operation on a file(mainly iam and ipt with iparts).
I am using
Vault 2013
Visual Studio 2010
.Net Framework 4.0
Regards.
For Vault 2014, some useful utilities were put in the VDF to keep things easy and similar to how they were in previous releases. AcquireFiles is the recommended function for downloading and checking out files.
For Vault 2013, you can find the file dependencies with DocumentService's functions like GetLatestFileAssociationsByMasterIds or similar to get the dependecies and check then out as well when you check out one file. Please refer to following links for the concept of file associations:
http://justonesandzeros.typepad.com/blog/2009/09/file-associations-part-1.html
http://justonesandzeros.typepad.com/blog/2009/10/file-associations-part-2.html
Here is another sample of checking out files from vault, it may be helpful for you as well:
Hello Daniel,
Thank you for your response.
I am able to get all the references of the file, but i cannot checkout the file references along with the parent file(i can checkout references separately).
The link from the Barbara Han's blog CheckIn-CheckOUT files from Inventor which you shared, has helped me and i am using the same approach with some modifications.
Assuming i need to checkout a assembly file the below two scenario's are possible
The confusion is HOW to checkout the associated/references files of the parent file whilst maintaining its references/association, which when opened in Inventor/AutoCAD 2013 does not display any error/message.
I am working on Vault Professional/Inventor Professional/AutoCAD Professional version 2013 with Visual Studio 2010.
Regards
Santosh