Message 1 of 12

Not applicable
01-03-2018
11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found this code by "inventor guru" which works perfect to list all missing ballons. But it doesn't work for iParts, as it lists ALL the missing balloons, not checking against active BOM (also shows the hidden members)
I would think its possible to modify it to check if QTY is more than 0, then list the items.
Anyone know how to achieve this?
Dim oDrawDoc As DrawingDocument = ThisDoc.Document Dim oSheet As Sheet = oDrawDoc.ActiveSheet Dim oPartsList As PartsList = oSheet.PartsLists.Item(1) Dim s As String Dim msg as String = "" For Each oRow As PartsListRow In oPartsList.PartsListRows If Not oRow.Ballooned Then s = "" For Each oCell As PartsListCell In oRow s = s & oCell.Value & " " Next msg = msg & s & vbNewLine End If Next 'show results MsgBox(msg)
Solved! Go to Solution.