10-17-2017
05:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-17-2017
05:39 AM
There seems to be a bug in iLogic in that it can't change the BOM structure in an assembly. It can read it but not modify it.
I have tried numerous methods of changing it. One example is below, the code below works perfectly in VBA but does not work in iLogic.
Public Sub AssyBOMTest() Dim oDoc As Document Set oDoc = ThisApplication.ActiveDocument Dim oCompDef As ComponentDefinition Set oCompDef = oDoc.ComponentDefinition oCompDef.BOMStructure = kPurchasedBOMStructure End Sub
I came across this problem while trying to solve the issue for someone else but wanted to make a post addressing the issue directly.
If anyone can help that would be great.
Thanks, Matt.
Solved! Go to Solution.