Best way to get Vault Status for Open Inventor Document

Best way to get Vault Status for Open Inventor Document

Anonymous
Not applicable
840 Views
2 Replies
Message 1 of 3

Best way to get Vault Status for Open Inventor Document

Anonymous
Not applicable

I have a custom C# AddIn running in Inventor. I want to get the Vault status for the active Inventor document. What's the best way to do that? I'm using WebServiceManager.DocumentService.FindFilesBySearchConditions right now but it seems like there must be a better way.

 

Is there anything in the Inventor Document model that would provide the FileID the DocumentService class methods frequently want? Is there a recommended best practice for this?

0 Likes
Accepted solutions (1)
841 Views
2 Replies
Replies (2)
Message 2 of 3

sajith_subramanian
Autodesk Support
Autodesk Support
Accepted solution

Hi @Anonymous

 

Apart, from using FindFilesBySearchConditions , you can use the checksum of the local file and use that to get the file in Vault. However, this works only when the file has not been edited.

Below is a link that explains things more in detail:

http://justonesandzeros.typepad.com/blog/2009/12/finding-a-local-file-in-the-vault.html

 

Regards,

Sajith


Sajith Subramanian
Autodesk Developer Network
Message 3 of 3

Anonymous
Not applicable

Thank you.

0 Likes