Hallo!
I need to create a macro to generate a new drawing using a model WITH A SHEET FORMAT set by me, for example via a drop down menu ... or similar. My problem is that I need generate many drawing for many customer all the day, and it's so difficult to manage 5 size format drawing (A4-3-2-1-0) for every customer. In my idea, it will be helpful for me choose FORMAT SIZE and CUSTOMER SHEET FORMAT. Thank you very much for everyone could help me!
Hi Pierpaolo,
Try the macro downloadable from the link below. You will need to edit the macro to set your folder paths for your default drawing template (dwrdot) and your folder containing sheet formats. It was built for 2015, so you may need to update SOLIDWORKS library references if you're using an older version.
Look for these two lines to change in the main procedure...
'set to your default drawing template path
template = "c:\programdata\solidworks\solidworks 2015\templates\drawing.drwdot"
'set to your sheet format folder
formatPath = "C:\ProgramData\SolidWorks\SOLIDWORKS 2015\lang\english\sheetformat\"
MakeDrawing.swp - Google Drive
Mike