Get BOM by API
Hi everybody,
I would like to get the bill of material by API. I have already worked through vbug.pdf, but I couldn´t find a clue in this direction.
You can get the first level dependencies by IpfcModel.ListDependencies() (doing this recursively will get all dependecies for complex assemblies) but I couldn´t get the number for a part/assembly in this level?! I have played some time with IpfcComponentPath, but I think this is the wrong direction.
Here a simple example:
root.asm
- 1 x part1.prt
- 5 x part2.prt
- 2 x other.asm
- 3 x partA.prt
- 1 x partB.prt
- 8 x GenericPart.prt
So ListDependencies() for root.asm would return
- part1.prt
- part2.prt
- other.asm
- GenericPart.prt
But how to get the numbers? In fact to get the commercial counts for purchase I need to pass the number of other.asm (2x) down to multiply.
Hope this shows what I mean 😃
Thanks in advanced for your help.
Best regards,
Benjamin

