Tutorial: Garden Path (Visual LISP IDE)

ImportantThis tutorial requires the Visual LISP Editor and applies to Windows only.


Your goal in this tutorial is to develop a new command for AutoCAD that draws a garden path and fills it with circular tiles. The tutorial is divided into seven lessons.

This tutorial covers

There are two possible execution contexts for this tutorial:


NoteAs you progress from lesson to lesson, you receive progressively less detailed instructions on how to perform individual tasks.


This tutorial assumes you have some familiarity with LISP or AutoLISP®. It also assumes you understand basic Windows® file management tasks such as creating directories, copying files, and navigating through the file system on your hard disk or network.

Sample Files

If you chose the full installation option when you installed AutoCAD, the source code files are in the following directory:

<AutoCAD directory>\Tutorial\VisualLISP\

It is recommended you do not modify the sample source code files supplied with AutoCAD. If something is not working correctly within your program, you may want to copy the supplied source code into your working directory. Throughout the tutorial, the working directory is referred to as:

<AutoCAD directory>\Tutorial\VisualLISP\MyPath

If you choose a different path for your working directory, substitute your directory name at the appropriate times.