How to export all of a project's custom properties

Hello

Is there a quick and easy way to export all the custom properties of a project as a *.txt or *.att file for example?

Thanks in advance

There are utilities for this, such as Smartbom at Visiativ (MyCADtools utility)
Otherwise, other API-based utilities also exist. (to be searched) (https://cadplus.xarial.com/bom/)
With the help of a macro this is also possible. (https://forum.mycad.visiativ.com/t/recuperer-une-propriete-du-modele-contenue-dans-mep/106215/12?locale=fr&lang=fr)
Otherwise from the main assembly make a nomenclature of the whole tree with the desired properties and export it in excel for example

1 Like

Indeed, a macro is certainly the solution because my assemblies are around 5000 to 10,000 parts, so a bill of materials is unmanageable.
Thank you

Hello

I don't like it with sbadenis
I would add that I am quite surprised (in a good way) by the performance of the SmartBom tool!

one condition: have the MyCADtools

For a study I recently made a nomenclature of our file "Library.
Not even 10 minutes later I have an excel table listing 13,000 SOLIDWORKS files and detailing more than 65,000 different configs!

I certainly didn't include ALL the properties but I still processed ALL our library in 1 click and in less than 10min.
So I imagine that on an assembly like yours it should work

1 Like

Indeed, SmartBom is rather efficient (if you don't go through the DocumentManager SDK which is instantaneous).
On the other hand, it is still necessary to count between 5 and 10 additional minutes for each extraction conditions...

Hi @Maclane,

Is the SDK the SOLIDWORKS API?

Oui
Quelques info ici:

Et une macro d’extraction Propriété vers Excel ici:

2 Likes

Thank you for this info!
The tutorial is quite telling and it doesn't seem complicated.
but it's not going to read custom properties? How do you do it when there are several configurations?