import_dwg
Import DWG files into CAD by converting them to DXF via LibreDWG's dwg2dxf. Accepts a file path or base64 content; requires dwg2dxf installed.
Instructions
Import DWG by piping through LibreDWG's dwg2dxf. Provide either path (DWG on disk) or base64 content. Falls back with an error if dwg2dxf is not installed (run dwg_tools_status to check).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| content | No | ||
| encoding | No |