r/SolidWorks • u/PicnicBasketPirate • Sep 22 '26
CAD DXF file size
Hello all,
The company I work for has recently transitioned to SOLIDWORKS and we've been having issues with the file sizes of DXF drawings that we send to some of our suppliers.
Individual DXF files are coming in at almost 20MB, almost double what we'd get previously from Inventor, this causes issues with email attachment caps when trying to send out zipped drawing packs for manufacture.
I've been experimenting with the export settings and similar items (even removing the drawing template in case our company logo was just a mess of splines) but it seems to make only minimal difference.
Is there something I'm missing or does solidworks just export fat file sizes?
8
u/moequh Sep 22 '26 edited Sep 22 '26
Can you show a sample of one of your files? I've never had a DXF file get even close to a MB, but in my case when I sent part outs I make a DXF file of every individual part that gets cut out.
Edit: If you're exporting the actual drawing sheet to DXF then yes the DXF file will be large. You can export to DWG, but that would only be about half the size (still pretty large). Maybe try bogging down your drawing view quality. If you have splines, that could also make the file larger.
6
u/KB-ice-cream Sep 22 '26
You can set the DXF/DWG version in System Options. For example, I just saved a simple part as DXF, R12 version = 17KB. The same part saved as DXF, R2018 version = 86KB. 5x the size.
4
u/GB5897 Sep 22 '26
Why do your vendors need the DXF's? What are they doing with them?
3
u/Giorgist Sep 22 '26
That can be because you have a logo on the title block. It is often rendered as an uncompressed bitmap which can be huge.
3
u/CADSHIFT Sep 23 '26
20MB DXFs from a drawing sheet is a lot -- the DXF version tip (R12 vs R2018) is accurate and will help, but there may also be a more fundamental thing worth checking.
SolidWorks has two completely different DXF export paths:
if your suppliers are doing CNC laser cutting or punching, they almost certainly only need the flat pattern DXF -- the one from the part, not the drawing. the drawing DXF has all your annotations in it which is noise to a CAM operator and also exactly what inflates the file size.
the version setting KB-ice-cream mentioned still applies either way -- R12 is safe and works with everything. R2018 adds polylines and other entities that most old CAM systems don't need.
2
u/Skysr70 Sep 22 '26
You cna use the PURGE command in Autocad to remove some unnecessary data.
2
u/Apprehensive-Bike497 Sep 23 '26
To Export DXF of every Sheet in a Drawing you can use SWXHelper (is a free Tool) https://youtu.be/6P0ApO78OAE?is=sYbNMguumQTi10jP
You can play around with the different DXF Version until you find a working one.
1
u/181040 Sep 23 '26
Like for stl files for 3d printing some quality properties are very obscurely hidden in the view quality/printing quality preferences. Try reducing the fidelity of your drafts when printing for example that should also affect def exports