ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
mematthieu egalon05/02/2025

Hello,

I'm trying to write kind of macro to export BoMs from the top level assembly and all subassemblies.

I made something that works for top level, but I have difficulties to go trough subassemblies. 

We're using SW 2021, and I'm learning by myself (meaning I take part of macro in google) 

Anyone have something like this ?

The Macro to create and export BoM in the ASM:

 'Définir le nom du fichier
modelPath