Message 1 of 12
Structured BOM

Not applicable
03-03-2013
08:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to get the structured BOMView. I tried as below but when I go through the rows it isn’t the structured. I get the same as is shown in Model Data in Inventor. What am I doing wrong?
' Set a reference to the BOM
Dim oBOM As BOM
oBOM = m_oInvAssDoc.ComponentDefinition.BOM
' Make sure that the structured view is enabled.
oBOM.StructuredViewEnabled = True
'Set a reference to the "Structured" BOMView
Dim oBOMView As BOMView
oBOMView = oBOM.BOMViews.Item("Structured")
Autodesk Inventor Professional 2013 SP 1.1