AnsweredAssumed Answered

Exporting a top level only BOM

Question asked by Rafael Veiga on Jul 10, 2017
Latest reply on Jul 11, 2017 by Rafael Veiga



I am trying to set up a system that exports a BOM to excel once the Top Assembly is selected.


The system works fine but I want to export only the top level BOM, but I am only able to export the complete BOM with all the sub-assemblies and sub-parts


I've tried to use swUserPrefernece Toggle_e, but it doesn't work.


BOMView = File.GetComputedBOM("SPS BOM", 0, "Default", swUserPreferenceToggle_e.swOneConfigOnlyTopLevelBom)


Any help would be greatly appreciated!


Thank you.