Parts List & Assembly

Hello

I'm looking for a way to retrieve the name of all the parts and assembly from a listing but deduplicate?

The aim is to process the entire assembly by a macro.

Thank you.

A+

Hello

I also needed to make a similar macro but on CATIA for my part. I used this post, it can be adapted to solidworks.

https://cao-3d-pro.com/catia-vba-lister-references-et-fichiers/

Kind regards

A first-level  nomenclature!?  

File / Search for references / flat view does the job in manual (check for duplicates, if not, it's not difficult to process in the macro)

To do this via macro, here are a few tips:

https://www.lynkoa.com/en/forum/communication-technique/export-nomenclature-vers-excel-avec-une-macro-vba?page=0#answer-

https://www.lynkoa.com/en/forum/solidworks/export-nomenclature-vers-excel-avec-une-macro-vba

Otherwise you can also export the xls nomenclature via smartbom in a pre-configured excel file with or without macro (xlsm or xlsx):

https://help.visiativ.com/mycadtools/2020/fr/SmartBom.html