Solidworks instant PDF, STL, DXF macro’s

Screen shot 2013-09-20 at 11.13.37 Screen shot 2013-09-20 at 11.12.33

These macro’s save a PDF, DXF or AI version of a drawing or STL of a model with the name of the model, in the model folder. Saves tons of time making packages of technical drawings. One-click file-saving! Can be easily changed to save other formats (STEP, IGES, …)
Warning: automatically overwrites existing files!

Download the ZIP package! (33k)

Update 1-2-2016: Since I’m still getting a ton of traffic on this post; I recently tested them with SolidWorks 2016 and they work perfectly.




Like this? You might be interested in my latest project. It's a desk light made completely from a single sheet of printed circuit board. Check it out:


vlak-1

8 thoughts on “Solidworks instant PDF, STL, DXF macro’s

    • Not sure, but probably, yeah. I’m on 2008, so no 64bit back then (I think). Let me know if it does 🙂

      • Hi, i have checked stl and pdf on 64-bit system (SWX2014) – it runs good… 😀
        nice macro – thanx

  1. Hi,

    Thanks for sharing these macros. I’m new to using macros and these are working great for me.

    Well I’d like to know that How can I use one of these Macros (say PDF) in Solidworks Task Scheduler to automatically save all the drawing files located in a folder to PDF files in the same folder.

    Your help is appreciated.

    Many thanks in advance!

    Best Regards
    Ashish Sharma

    • Hi Ashish,

      Good idea. However, I didn’t even know SW had a task scheduler 😀
      I’d guess you could feed this macro into the scheduler, but if I remember correctly it only saves a PDF of the currently opened and active file so you might have some trouble with that.

      Best regards, Gregor

  2. Hi,
    Thank you for sharing these macros.
    I was having trouble with the one I wrote crashing solidworks when I used it.
    Makes everything a lot easier

  3. Hey,
    thanks for the macros.

    -is it possible to make the .stl macro where i can choose the folder where i can save my file?

    -the dxf macro is very nice but it only works on drawing file. can you also make it for a sketch file? i need it for sheet-exhaus transaction

    nice greetz from germany

    • Hi Patrick,

      1) Do you want to choose a different path every time? If you want them always in the same folder you can edit the macro quite easily. If you want a pop-up to choose a location then I wouldn’t know how to do that 🙂
      2) What do you mean with “sketch file”? A blank SW file with only a sketch?

Leave a Reply

Your email address will not be published. Required fields are marked *