Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
andrew.tom.reynolds
1202 Views, 9 Replies

Suppressing Folders using iLogic not updating BOM structure

I've got a configurable assembly where i have the components (some parts, content center items and sub-assemblies) related to each option in a browser folder so that i can simply suppress or unsuppress the required folders based on the options required. However, the Parts Only BOM list still contains almost all of the parts that are suppressed. Normally with iLogic when you suppress a component, the BOM structure is changed to "Reference" and it disappears from the Parts Only list. This doesn't seem to be working in this case. The components are definitely suppressed in the model as expected, just not in the BOM?!

The code i'm using to suppress the folders is:

oFolder = oPane.TopNode.BrowserFolders.Item("ROTARY ACTUATION")
oFolderNodes = oFolder.BrowserNode.BrowserNodes

For Each oNode As BrowserNode In oFolderNodes
	oComp = oNode.NativeObject
	oComp.Suppress
Next

Any clues?