O'Reilly logo

AutoCAD® 2012 & AutoCAD LT® 2012 Bible by Ellen Finkelstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 34: Understanding AutoLISP and Visual LISP Basics

In This Chapter

Understanding AutoLISP programming and the Visual LISP environment Seeking help in Visual LISP Creating your own AutoLISP expressions Working with AutoLISP on the command line Saving AutoLISP expressions as a files

AutoLISP is a programming language supported by AutoCAD that can greatly enhance your productivity by automating often-used or repetitive tasks. AutoLISP provides a glimpse into the inner workings of AutoCAD and can serve as an excellent steppingstone to learning more advanced automation methods, such as .NET and ObjectARX. An AutoLISP routine gives you complete control over its interaction with the user and what it does after it's loaded.

AutoCAD Only

AutoCAD LT does not support AutoLISP. This entire chapter is for AutoCAD only.

You can type AutoLISP expressions on the command line in response to prompts, or save them to a file that you can load and use when needed. AutoLISP offers wide and varied possibilities for shortcuts.

AutoLISP intimidates many AutoCAD users, but the many benefits well justify the time that you invest to learn this full-featured programming language. Best of all, you do not need to learn all the complexities of AutoLISP to see productivity gains from its use.

You can find a tremendous number of AutoLISP routines on the Internet. Many CAD Web sites offer huge libraries of AutoLISP routines as free downloads. (For more details, see Appendix B.) Many CAD offices have created ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required