Execute AutoLISP
system_run_lispExecute AutoLISP expressions in AutoCAD to automate custom operations, with built-in restrictions on code execution and file I/O.
Instructions
Execute an AutoLISP expression (COM backend only).
Example: '(setvar "DIMSCALE" 1.0)'
A symbol denylist refuses the known code-execution and file-I/O channels; text inside double quotes is treated as data, so drawing notes are not mistaken for code. It is a guardrail, NOT a security boundary — AutoLISP has more write channels than any denylist enumerates. Prefer the typed tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | AutoLISP expression to evaluate (e.g. '(command "ZOOM" "E")') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||