autocad_initialize_drawing
Initialize an AutoCAD drawing in one safe, repeatable call by applying unit settings and creating or reusing the sheet boundary on the target layer.
Instructions
Idempotent one-call setup: apply drawing units, then create/reuse the sheet boundary.
Composes autocad_set_drawing_units and autocad_create_boundary. Reuses the active document (never discards it) and reuses an existing boundary on the target layer rather than duplicating it, so calling this more than once is safe.
Args: params (InitializeDrawingInput): - boundary (CreateBoundaryInput): required; see autocad_create_boundary. - units (SetDrawingUnitsInput): optional; defaults to the Engineering template.
Returns: str: JSON {"units": {...}, "boundary": {...}} — see the two underlying tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |