Chapter 9. AutoLISP by Example: Getting Better

The AutoLISP examples that I gave you in Chapter 8, "AutoLISP by Example: Getting Started," were simplified, but that doesn't mean they weren't useful. In fact, with only those examples, you can now create hundreds of new and useful AutoCAD commands. But before long, you'll probably want to generate functions that require something more complex than the skeletal AutoLISP structure laid out in the previous chapter. This chapter adds some meat to that skeleton, not only by introducing you to more complex functions, but also by describing two of the most important concepts for your future programming efforts: error handling and annotating.

First, though, let's try to preempt the frustration inherent in ...

Get Autocad®: Secrets Every User Should Know now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.