CADEx

What Is AutoLISP and Why CAD Pros Still Use It

AutoCADCivil 3D6 min
Short answer

AutoLISP is the LISP dialect built into AutoCAD since 1986. It's a scripting language that can run any AutoCAD command, read or modify any object, and prompt the user — all without compiling. CAD pros still write AutoLISP for everyday automation because it requires no dev tools, ships with AutoCAD, and a one-page .lsp file can replace hours of repetitive drafting.

Steps

1

Understand what AutoLISP is

AutoLISP is a programming language interpreted directly by AutoCAD. You write a .lsp file, load it with APPLOAD, and call its commands from the AutoCAD command line. There is no compile step. The same .lsp runs on any AutoCAD version from R12 to the latest, with minor exceptions for newer functions.

2

Recognize a LISP routine

A typical routine defines one command: (defun C:HELLO () (princ "Hello from LISP")(princ)). The C: prefix exposes the function as an AutoCAD command. Load the file and type HELLO at the command line to run it.

3

Know when to use AutoLISP

Choose AutoLISP for: small per-team utilities, automation that wraps existing AutoCAD commands, scripts that need to ship as one file. Choose .NET instead when you need: a custom ribbon tab, complex UI, multithreading, modern HTTP/JSON, or first-class Civil 3D object access.

4

Know when NOT to use AutoLISP

AutoLISP is the wrong tool for: large applications (no proper module system); anything requiring threads; sustained heavy computation; or modern UI work. The community trend for any application above ~1000 lines is to move to .NET.

5

Get started

Type APPLOAD in AutoCAD, then APPLOAD → Contents → Add to make routines load on startup. Read the AutoLISP Reference (Help → AutoLISP Reference). The standard book is George Omura's 'AutoLISP and Visual LISP in AutoCAD'. CAD Exchange's marketplace has hundreds of LISP routines to read and learn from.

Frequently asked questions

Is AutoLISP being deprecated?

No. Autodesk continues to ship and extend it — recent AutoCAD releases added new LISP functions for the modern web stack. VBA is the legacy language Autodesk has sunset; AutoLISP is not.

Can I write AutoLISP in Visual Studio Code?

Yes — AutoCAD ships a free 'AutoCAD AutoLISP Extension' for VS Code with syntax highlighting, debugging, and process attach to the running AutoCAD.

What's the difference between AutoLISP and Visual LISP?

Visual LISP is AutoLISP plus extras: the VLIDE editor, debugger, COM access via vla- functions, and compilation to .fas/.vlx. Modern code is technically all Visual LISP because everyone uses the vla- and vl- functions.

Does AutoLISP work in AutoCAD LT?

No. AutoCAD LT has no LISP interpreter. This is a deliberate Autodesk product split — full AutoCAD and the verticals (Civil 3D, MEP, Architecture, Plant 3D) all have LISP.

Where can I find LISP routines to start with?

Lee Mac's website, AfraLISP, the AutoCAD Customization forum, and marketplaces like CAD Exchange. Read working source — the language is small enough to learn by example.

Related guides

How to Load a LISP Routine in AutoCAD

Three reliable ways to load .lsp, .fas, and .vlx files into AutoCAD, plus how to add them to the Startup Suite so you never reload again.

Browse listings

Tools, Plugins & LISP Routines for AutoCAD

Buy and download verified AutoCAD automation: AutoLISP routines, .NET plugins, and ObjectARX add-ins. Reviewed by CAD pros, scanned for malware, version-locked to your AutoCAD release.

AutoCAD LISP Routines

Hundreds of verified AutoLISP and Visual LISP routines for AutoCAD: .lsp source, compiled .fas, and bundled .vlx applications. Loaded with APPLOAD, version-friendly, malware-scanned.

Related terms

AutoLISP

Autodesk's dialect of LISP, built into AutoCAD since 1986, used to write custom commands and automate drawings.

LISP

A scripting language used to automate AutoCAD by writing routines that issue commands, query drawings, and build custom tools.

Visual LISP

An extended LISP environment in AutoCAD that adds an IDE, debugger, COM access, and the ability to compile to FAS or VLX.

LISP routine

A self-contained AutoLISP program that adds a command or behaviour to AutoCAD — usually one .lsp/.fas file.

APPLOAD

The AutoCAD command that opens a dialog for loading .lsp, .fas, .vlx, .arx, or .dll files into the current session.