export_dwg
Convert the current 2D CAD scene to DWG by generating a DXF and using LibreDWG's dxf2dwg, returning base64 bytes or writing to a specified path.
Instructions
Export the current 2D scene to DWG by writing a DXF and converting via LibreDWG's dxf2dwg. Returns base64 DWG bytes; pass path to also write to disk. Run dwg_tools_status to confirm dxf2dwg is installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| entity_ids | No |