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: 

Export of Vault BOM as a simple list

1 REPLY 1
SOLVED
Reply
Message 1 of 2
oransen
1516 Views, 1 Reply

Export of Vault BOM as a simple list

I'm asking this for a friend, I've never used Vault, so please bare with me...

 

He wants to know if there is a way to get a list of parts from each "drawing" with two columns, the first column is the "parent component" of the item in the second column which is the "child component."

 

I imagine that the first column will have a lot of repeated parent components.

 

Is this possible, does it already exist or does it need some VB code?

 

TIA

Tags (1)
1 REPLY 1
Message 2 of 2
wayne.brill
in reply to: oransen

Hi,

 

I believe they should use the Inventor API to do this. The Vault API has the GetBOMByFileId() function but I don't think that will provide a reliable solution.

This blog article explains this:     

http://justonesandzeros.typepad.com/blog/2012/11/the-bom-pipeline.html

 

The Inventor API help has examples for accessing an assembly BOM. See this example "Public Sub BOMQuery()". The API help is here on my system:

"C:\Program Files\Autodesk\Inventor 2014\Local Help\admapi_18_0.chm"

 

It is farily easy to convert VBA code to VB.NET.

 

 

Thanks,

Wayne

 

 

 



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