Hello
I have a macro which saves my SW drawings as a PDF and DXF file.
This takes information from the drawing file name, description and revision and populates this into the PDF and DXF file name upon saving.
However, I would like this macro to go one stage further and :-
- Take the part/assembly revision and apply this to the saved drawing name, thus removing the need for me to manually add the part/assembly revision into the drawing properties.
- Take the description directly from the part/assembly and apply this to the saved file name, thus removing the need for me to duplicate this in the SW drawing saved file description.
I understand to do this takes quite a lot of macro work, as it requires the macro to interrogate the part and assembly files whereas currently, the macro obtains all the necessary info from the drawing file.
I would be very grateful if someone would be able to assist me in generating this updated macro.
Many thanks in advance
D
SolidworksApi/macros