This can be only achieved via a macro. Attached a macro that will export each sheet as DXF with file name as <Part_Num>_<Sheet_Num>_Rev<Rev>

Please backup your data before using macro. Also this macro is tested on SW2013 SP 5 Win 7 x64. So in case you've different version then you may need to fix the library references in order to have the macro running correctly.

To run the macro, download and extract the the attached file. Now open a drawing file and then go to Tools > Macro > Run and browse to the extract .SWP file. Then you can see the DXF file generated in the same location with file name as stated above.

It works very well until it gets to the revision. I have Solidworks 2012, and changed the 3 missing libraries of 2013 to their 2012 equivelents when prompted about missing libraries. It seems to have lost the connection between the revision, which is coded as "Value" when saving. I am getting the rest of it perfectly fine though. Any thoughts?

Dylan, the macro is pulling revision info from part/assembly referenced by that drawing, so you might be getting issues in case there is no revision info in part/assembly. Here is a macro which pulls revision from drawing itself.

I know it's been a year since you have created this macro and it is really close to being what I need for work. I'm just getting into programming and I'm learning but I am nowhere close to being able to adjust this on my own yet. My question is this. Is there a way that when the macro is run that a dialog box could pop up asking you what you want the prefex of the filename for each dxf file to be and then have it export each sheet as a separate file like it currently does only instead of it using the drawing file name it uses the prefix you input and instead of getting the revision number and sheet number it would save the sheet name. We have master files that we use where the structure changes size but none of the files change there basic shape and there name stays the same. we have a drawing file that we made for exporting the dxfs and each sheet has only one part on it and so we have renamed the sheet of each part from sheet# to the actual part name. Any help you could give would be greatly appreciated .

i'm an absolute zero in API/VBA in Solidworks, but i was stunning about your macro "Save Each Sheet As DXF_V2.2.swp". As i do not understand what is happening in this tool i request you to please modify this macro to export to dxf and pdf only the active sheet and the last sheet (or called "Übersicht") and give the files the name of the sheets as in the existing macro. Is this possible? Thanks in advance!

Thanks a lot, it works perfect. With a little investigation i managed myself to save into folders "pdf" and "dxf". What i cannot do myself is to create these folders automatically if not already present (check->create). Is this a simple addition?

Thanks a lot, it works perfect. With a little investigation i managed myself to save into folders "pdf" and "dxf". What i cannot do myself is to create these folders automatically if not already present (check->create). Is this a simple addition?

Yes, you need to use the DIR function to check if a folder exists OR not. If not then use MKDIR function to create it. Search on this forum and you would get the required codes. Sorry I'm not on the machine at the moment.

There used to be a button in the DWG/DXF save as options that allowed you to toggle between saving a multiple tab SW drawing document as individual files or to save all into one file. Where has this gone? I'm sure that I used to use it in previous install if the same version (2015).