I'm woking on vba macro to insert and indented BOM table with detailed numbering in to my assemlby .
The following lines do the trick, but BOM is inserted with "No numbering" by default. I cannot find any tool on the API's that set the detailed numbering property. Any ideas?
Set swBOMTable = swModel.Extension.InsertBomTable2(BOMTemplate, 0, 0, swBomType_Indented, ConfigName, True)
Set swTable = swBOMTable
Set swBOMfeat = swBOMTable.BomFeature
swBOMfeat.FollowAssemblyOrder2 = True
swBOMfeat.PartConfigurationGrouping = swDisplay_ConfigurationWithSameName_AsOneItem
Thanks.
SolidworksApi macros