New Drawing
drawing_newCreate a new AutoCAD drawing from scratch or a template, with optional automatic setup of standard engineering linetypes and layers.
Instructions
Create a new empty drawing, optionally from a template (.dwt).
When bootstrap=True (default), the drawing is also seeded with the
standard engineering linetypes (CENTER/HIDDEN/PHANTOM) and layers
(GEOMETRY, DIM, CENTER, HIDDEN, PHANTOM, HATCH, TEXT, TITLEBLOCK).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | No | Optional path to .dwt template file | |
| bootstrap | No | Auto-load CENTER/HIDDEN/PHANTOM linetypes and create standard engineering layers (GEOMETRY, DIM, CENTER, HIDDEN, PHANTOM, HATCH, TEXT, TITLEBLOCK). Disable for vanilla DXF. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||