CADEx

AutoLISP

Short answer

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

AutoLISP is the dialect of LISP that ships with AutoCAD, Civil 3D, and other AutoCAD verticals. It exposes the AutoCAD command line and entity database, so AutoLISP code can issue any command a user can type and inspect or modify any object in the drawing. AutoLISP files use the .lsp extension and load with the APPLOAD command or by being listed in ACAD.lsp / acaddoc.lsp. AutoLISP is the most common entry point for CAD pros writing their first automation because it requires no compiler and runs immediately.

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.

How to Auto-Load a LISP Routine When AutoCAD Starts

Four ways to make a LISP routine load automatically — Startup Suite, ACAD.lsp, acaddoc.lsp, and Trusted Locations — and which to pick.

Browse related listings

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

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.

FAS

A compiled, single-file binary of an AutoLISP/Visual LISP routine. Faster to load and obscures the source code.

VLX

A compiled Visual LISP application that bundles multiple .lsp/.fas files, DCL dialogs, and resources into one file.

acaddoc.lsp

A LISP file AutoCAD loads every time a drawing is opened, used for per-document setup and (defun S::STARTUP).