I am using the VBA example in the help file (LINK). The API help states when using TopLevelOnly, that the BomFeature property must be used. I added some some to get the configuration used in the selected view. How do I set to BOM to this configuration? If I use the code from the help file, the configuration using in the view does not get set in the BOM table properties. For example, if the selected view is referencing a configuration called "XYZ", how do I set the BOM to configuration XYZ?
' Because BOM type is swBomType_TopLevelOnly, ' then work with BomFeature to get and set configurations Set swBomFeat = swBomAnn.BomFeature Names = swBomFeat.GetConfigurations(False, Visible) Visible(0) = True boolstatus = swBomFeat.SetConfigurations(True, Visible, Names)
Message was edited by: Chris M.