DXF to DXF conversion from other versions. #904
Replies: 1 comment
-
The best choice is the free ODA File Converter for Windows/Linux/macOS. Copy the odafc add-on into your project if you just need the Python integration of the converter.
The following tips can work but are not recommended/reliable for complex DXF files. Upgrading from DXF R2000+ to a newer version often work by assigning the new DXF version: import ezdxf
doc = ezdxf.readfile("r2000.dxf")
doc.dxfversion = "R2013"
doc.saveas("R2013.dxf") Downgrading of DXF versions R2004-2018 to R2000 and newer can work for files with simple content because To all beginners: downgrading/upgrading of your 500+ MB "AutoCAD Map/Civil/Architect" file does not work! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon everyone, I'm having to develop a way to convert .dxf files from one version to another (in this case I'm having to convert from a more recent version to an older one, so that it works on older machines).
But I couldn't find anything like that in the documentation, I'm studying a little about the structure of .dxf files so that I understand better, but I would like to know if there is any way to do this using this library, the ezdxf for python.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions