AutoCAD: Secrets Every User Should Know

Chapter 9: AutoLISP by Example Getting Better

Overview

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 creating your own programs. When your program fails to work, how do you figure out what s wrong?

  • Debugging Techniques

  • Error Handling

  • Annotation

  • Selection Sets

  • IF Function

  • WHILE Function

  • COND, INITGET, and GETKWORD Functions

  • Text and String Manipulation

  • Getting to DOS

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Condition Monitoring and Predictive Maintenance (PdM) Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.