Smartproperties, via the "property of the summary" tab, offer to enter the value of a variable directly in the property/custom tab of a file (here a slddrw).
How, and in VBA, can I retrieve the value of the variable "REVISION" from the file (not opened) to enter it in an excel table?
Hello
It is possible to access all the advanced properties (Summary tab) using the "Microsoft Shell Controls and Automation" library, see here:
http://silkyroad.developpez.com/VBA/ProprietesClasseurs/#LIV-C
However, I'm not sure that this retrieves all the advanced properties of a SolidWorks file.
In this case and if you have the MyCAD utilities, I advise you to use BatchProperties, which allows you to export all the properties (of all the files in a folder for example) to an Excel file.
See in the help, "Saving and reading a list of properties":
"[You can] save the list of properties by generating a file in Excel format."
Thanks for the answer, I had already tried this model, and it doesn't retrieve all the properties and I can't identify only the names of the ones I want to import.
I also need to retrieve parent/child file properties in order to concatenate a filename but without the files being opened or modified (revision index).