autocad_undo
Revert the last N operations in a live AutoCAD session via the COM backend (1–50 steps). Use to step back drawing changes when an edit goes wrong.
Instructions
Undo the last N operations. COM backend only (needs a live AutoCAD session).
Args: params (UndoInput): - steps (int): number of operations to undo (default 1, max 50).
Returns: str: JSON {"status": "undone", "steps"}; an "Error (NotImplementedError)" message if the active backend is ezdxf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |