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

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