Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

 

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()