CADLisp Tools

Beginner tutorial

What is AutoLISP?

Understand what AutoLISP is, where it runs, and the kinds of CAD work it can automate.

5 minUpdated Sep 17, 2026

AutoLISP is a programming language built for extending AutoCAD and related CAD workflows. It lets you turn a repeated sequence of drawing steps into a command of your own.

What can it automate?

Good first projects are small, predictable tasks: formatting text, selecting objects by a rule, placing labels, changing properties, or creating repeated geometry. The best candidate is usually a task you can already describe as an exact checklist.

The shape of a small command

(defun c:HELLOCAD ()
  (prompt "\nHello from AutoLISP!")
  (princ)
)

defun defines a function. Adding c: to the function name exposes it as a command you can type at the CAD command line. The final (princ) exits quietly.

A useful learning habit

Test code in a disposable drawing. Change one thing at a time, read the command-line output, and keep production drawings out of the experiment until the behavior is understood.

Next step

Learn how to load a LISP file with APPLOAD and then build your first custom command.