- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I would like to ask if it is possible to loop through the assembly file using Apprentice Server and export information from BOM (part number, description, . I read everywhere that people can access BOM through Apprentice Server but I never found a working solution how to do it.
I would need Part number, Description, Category, item QTY, Mass, G_L (custom parameter for unit length), Full file Path.
If I reference :
Dim oApprentice As ApprenticeServerComponent
oApprentice = New ApprenticeServerComponent
' Open a document.
Dim oDoc As ApprenticeServerDocument
Dim oBom as inventor.bom
oDoc = oApprentice.Open("filename.iam")
oBom = oDoc.componentdefinition.bom <- This property/method is not available in Apprentice
Can you please help me how to do it correctly.
Thank you.
Solved! Go to Solution.