Extract BOM from a CAD file hosted in Vault

Extract BOM from a CAD file hosted in Vault

Anonymous
Not applicable
760 Views
4 Replies
Message 1 of 5

Extract BOM from a CAD file hosted in Vault

Anonymous
Not applicable

Hi,

I'm currently acquiring files from Vault using connection.FileManager.AcquireFiles(settings).

When I want to extract the BOM from a downloaded assembly using Inventor API or ApprenticeServer it fails.

But prior to that, if I checkout the assembly (from the Vault Client, for instance) and then do the same, it works.

So I guess, downloading files to the current project folder (from .ipj) acts as a cache and allows the retrieval of the BOM from the API.

If that assumption is correct, my question is simple: can I get the BOM without having to check out files from Vault and just use AcquireFiles with some special settings?

 

Thanks in advance for your help!

0 Likes
Accepted solutions (1)
761 Views
4 Replies
Replies (4)
Message 2 of 5

junyi_zhu
Autodesk
Autodesk

How did you do the checkout in Vault Client? Do you see all the files in your working folder?



Junyi Zhu

0 Likes
Message 3 of 5

Anonymous
Not applicable

Yes I do have all the files extracted.

Correct me if I'm wrong, but I begin to suspect that some of the files I'm extracting come from old versions of Inventor and have never been updated, so it may lead to this kind of problems. What do you think?

0 Likes
Message 4 of 5

junyi_zhu
Autodesk
Autodesk
Accepted solution

It could be. You can see in Vault Explorer client which versions of files you have locally. Maybe what you get from API is different from that of Get/Checkout.



Junyi Zhu

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thanks. Indeed, it seems so.

I'll have to check now, what kind of discrepancies I'll find between APIs and Vault Client.

0 Likes