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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "drawing_export_dxf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output .dxf file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||