Open Drawing
drawing_openOpens existing DXF drawings, and DWG files when the active backend supports it, preventing format mismatches.
Instructions
Open an existing DXF drawing file (DWG too, on the live COM backend).
T0.2: a .dwg path is refused up front when the active backend has no dwg
capability. ezdxf sniffs content rather than extensions, so it would parse a
mislabelled DXF-in-a-.dwg and this tool would answer with a document that
does not exist in that format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path to the .dxf file. .dwg needs a backend that can read it (the live COM backend); the headless ezdxf backend refuses it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||