01-29-2016
07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-29-2016
07:18 AM
You're quite welcome!
Here's a version that you can run from the drawing:
'define the model (gets the first model in the drawing, if there is more than 1)
oModelDoc = ThisDrawing.ModelDocument
'get the structured BOM view
oBOMView = oModelDoc.ComponentDefinition.BOM.BOMViews.Item("Structured")
'renumber the BOM
Call oBOMView.Renumber(10, 10)
'update the drawing (parts list, balloons, etc.)
InventorVb.DocumentUpdate()