Close Drawing
drawing_closeClose the active AutoCAD drawing, optionally saving changes first. Prevents data loss by saving before closing or discarding unsaved changes as needed.
Instructions
Close the active document. If save is True (default), the drawing is
saved to its current path before closing; an untitled document is closed
and warning says its changes were discarded (headless) or the call is
refused (live, where the alternative is a modal Save dialog). The
active-document case of document_close; after the last document is
closed, call drawing_new or drawing_open before any other tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Save the drawing before closing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||