Create BOM without using a drawing (SLDDRW)

Hi SW Community, ​, ​,

I wanted to create a macro that would create a BOM from my active assembly document

instead of saving the inserted BOM in a solidworks drawing.

I wanted to automatically create an BOM excel file.

Does anyone know how to do this?

Thank in advance.

Regards,

DiAnne

SolidworksApi macros