Chapter 8. AutoLISP by Example: Getting Started
I don't know why more users don't write programs in AutoLISP; perhaps the very notion of programming is too intimidating. And yet nothing has more potential to expand your AutoCAD efficiency than programming new commands. Of all the programming tools out there, AutoLISP is the most accessible to AutoCAD users; but do I really think every user should know how to program in AutoLISP? Yes, I do—and you'll see why as you work through this chapter.
If the prospect of programming leaves you a bit daunted, I've got good news: If you can use AutoCAD, you can program in AutoLISP. To show you how easy it is, let's write a program right now. Just follow these steps:
At the AutoCAD command line, type this: