06-23-2019
11:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-23-2019
11:38 PM
Hi @andrew.tom.reynolds ,
I know it is a little confusing, but there is indeed some difference between suppressing via browser node/manually and suppressing via iLogic rule:
Component.IsActive("xxx") = False
When suppressing via iLogic rule, it does the thing to change bom structure from normal to reference besides suppressing the component, while suppressing manually from browser node doesn't do that.
In such case, if you have pretty a lot components to suppress and want to change their bom structure at the same time, please try to change the code a little bit using iLogic way:
oPane = ThisDoc.Document.BrowserPanes.Item("Model") oFolder = oPane.TopNode.BrowserFolders.Item("test") oFolderNodes = oFolder.BrowserNode.BrowserNodes For Each oNode As BrowserNode In oFolderNodes oComp = oNode.NativeObject Component.IsActive(oComp.name) = False ' oComp.Suppress Next

Jane Fan
Inventor QA Engineer