Set up script to batch convert .dxf v2018 to v2013?


Can someone help me with the steps to set up a script to convert various v2018 .dxfs to v2013.dxf format? Ideally, no file name change is needed or changes to geometry…just a format conversion.

Thanks in advance.



So, if we’re talking files in a directory, this works for me…
DXF convert 2018 21013.dyn (12.2 KB)

I don’t think you could do it via Revit, because at first glance, the DWF options in the Revit API don’t have a File Version we can access…

This is different to the DWG options which we can

Hopefully that’s useful,