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

Hello,

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.

Mike

Hey,

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…

https://www.revitapidocs.com/2020/d8fccc93-9172-931f-02f4-3b92007df811.htm

This is different to the DWG options which we can

Hopefully that’s useful,

Mark