AutoCAD

How to Load Lisp in AutoCAD 2020?

Understanding LISP in AutoCAD

AutoLISP is a specialized programming language derived from Lisp, designed specifically to enhance the capabilities of AutoCAD. This language allows users to automate repetitive tasks, create custom commands, and develop complex applications within the AutoCAD environment. For users looking to expand their AutoCAD experience, loading LISP routines is a crucial step.

Preparing to Load a LISP File

Before loading a LISP file, ensure you have the file saved on your computer with a .lsp extension, which denotes it as an AutoLISP source file. Familiarize yourself with the folder where you’ll keep your LISP files as this will facilitate a smoother loading process.

Steps to Load a LISP File in AutoCAD 2025

  1. Open AutoCAD: Start the AutoCAD program on your computer.
  2. Access the APPLOAD Command: Type APPLOAD in the command line and press Enter. This command opens the Applications Load/Unload dialog box.
  3. Select the LISP File: In the dialog box, navigate to the directory where your LISP file is stored. If you haven’t stored the file yet, make sure to save it in a location that you can easily access.
  4. Load the File: Once you’ve located your .lsp file, select it and click the Load button. This action will import the LISP routine into your current AutoCAD session.
  5. Close the Dialog Box: After loading, click Close to exit the Applications Load/Unload dialog box.
  6. Run Your LISP Routine: To execute the loaded LISP routine, type its command name in the command line and hit Enter. If you’re unsure of the command name, refer to the content of the LISP file.

Creating a Custom LISP Directory

If you plan to regularly use LISP files, it’s beneficial to set up a dedicated directory in AutoCAD’s support file search path:

  1. Open Options: Type OPTIONS in the command line and press Enter.
  2. Navigate to File Locations: In the Options dialog, go to the Files tab and expand the Support File Search Path.
  3. Add New Path: Click on Add, then Browse to select your folder (e.g., D:\LISP Files). After selecting, click OK to confirm the new path.
  4. Apply Changes: Make sure to apply the changes and restart AutoCAD for them to take effect.

Common Issues When Loading LISP

When working with LISP files, users may encounter issues such as:

  • Errors in the LISP code that prevent loading.
  • LISP file not found due to incorrect file path or extension.
  • Compatibility issues if the LISP routine was developed for a different version of AutoCAD.

Frequently Asked Questions (FAQ)

Can I load multiple LISP files at once?

Yes, you can load multiple LISP files by selecting them in the Applications Load/Unload dialog. Hold down the Ctrl key while clicking on each file to select multiple files before clicking Load.

What is the purpose of the acad.lsp file?

The acad.lsp file is an AutoCAD startup file that runs automatically each time you start AutoCAD. It can contain customizations and LISP routines that you want to load every session.

Is AutoCAD LT compatible with LISP?

No, AutoCAD LT does not support LISP routines. Users of AutoCAD LT are limited to standard commands and cannot load custom LISP scripts.

About the author

Wei Zhang

Wei Zhang

Wei Zhang is a renowned figure in the CAD (Computer-Aided Design) industry in Canada, with over 30 years of experience spanning his native China and Canada. As the founder of a CAD training center, Wei has been instrumental in shaping the skills of hundreds of technicians and engineers in technical drawing and CAD software applications. He is a certified developer with Autodesk, demonstrating his deep expertise and commitment to staying at the forefront of CAD technology. Wei’s passion for education and technology has not only made him a respected educator but also a key player in advancing CAD methodologies in various engineering sectors. His contributions have significantly impacted the way CAD is taught and applied in the professional world, bridging the gap between traditional drafting techniques and modern digital solutions.