AutoLISP Application Documentation
by David T. Allison
This document explains the purpose and usage of several AutoLISP applications designed by
David Allison for generating diagrams useful in the Earth Sciences. These applications can be
easily modified for other purposes outside of the realm of Earth Science. The specific purpose and
usage of each application is described below, however, there is a certain degree of modification
necessary to the AutoCAD operating environment before they are ready to use. Each application
may call procedures contained in several “libraries” of commonly used functions. A variable
containing the file path to the directory where these files are located must be defined before one of
the applications can be executed.
Installing the Applications
When you download the AutoLISP applications from the web site your are actually downloading
a single compressed file named “DTA_AutoLISP.zip” that contains all of the individual source
code files. Create a folder where you wish for the applications to reside, copy the ZIP file to this
folder, and then double-click on the ZIP file while in file explorer to un-compress and extract the
files to that folder. For example, I keep all of the LISP applications in this folder:
For the purposes of this document I will use this path as an example.
If file explorer does not extract the files you may not have ZIP file capability installed on your
computer. If so, search for the keyword “WinZip” with your web browser until you locate this
utility, and then install it.
The LISP applications described in this document have been tested using AutoCAD 2000.
Different versions of AutoCAD are generally compatible with LISP applications, however, you
may have to modify the setup procedures described below if you are using a different version. For
demonstration purposes I will assume AutoCAD 2000 is installed on the computer.
When AutoCAD 2000 is started, it looks for a file named “acad2000.lsp” (release 14 looks for