Hi everyone
on a part
I would like to copy a custom property to a property of the file (summary tab) via a macro
this would allow me to be able to see this property in Windows
I think this is possible, because in my last research to export my properties to Excel, I seem to have seen a topic dealing with this, but no way to find it
(I found this Title Property (ISwDMDocument) – 2023 – SOLIDWORKS API Help but I can't seem to use it)
THANK YOU
To read and add the summaryinfo like the Author, title...
See this code:
https://help.solidworks.com/2020/english/api/sldworksapi/get_and_set_file_summary_information_example_vb.htm?verRedirect=1
And to read a customproperties:
https://help.solidworks.com/2020/English/api/sldworksapi/Get_Custom_Properties_for_Configuration_Example_VB.htm?verRedirect=1
By combining these 2 codes you should be able to find what you are looking for.
6 Likes
Great thanks, I'll read all this
Hi everyone
Thank you, I just tested the first code, it works as I wanted it to
thank you for the info it will allow me to move forward
tomorrow, I'll integrate this code into my macro
Thank you again for the time you devote to responding to the forum's requests
1 Like
Thanks again it works great with very few lines of code in the end
I can retrieve my custom properties in Windows
1 Like