drawing
Create, open, save, and manage AutoCAD LT drawing files. Export to DXF, plot to PDF, purge unused objects, and control drawing operations through AutoLISP commands.
Instructions
Drawing file management.
Operations: create — Create a new empty drawing. data: {name?} open — Open an existing drawing. data: {path} info — Get drawing extents, entity count, layers, blocks. save — Save current drawing. data: {path?} (saves to path if given, else QSAVE) save_as_dxf — Export as DXF. data: {path} plot_pdf — Plot to PDF. data: {path} purge — Purge unused objects. get_variables — Get system variables. data: {names: [...]} undo — Undo last operation. redo — Redo last undone operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| data | No | ||
| include_screenshot | No |