Export DXF
drawing_export_dxfExport the current AutoCAD drawing as a DXF copy without changing the open document's name, path, or saved state. Specify an output .dxf path to create a standalone DXF file.
Instructions
Export the current drawing as a DXF copy.
The open document is never re-pointed: it keeps its name, path and saved flag
(drawing_save_as is the call that re-points). Live: Document.Export, renamed to
the name given; headless: a copy written by ezdxf. The result names the method
and the DXF version written. Refused: a name that is not .dxf (a .dwg headlessly
with capability dwg).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output .dxf file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||