O'Reilly logo

AutoCAD Platform Customization: User Interface, AutoLISP, VBA, and Beyond by Lee Ambrosius

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

images

Working with Lists

In the AutoLISP® programming language, an atom can be a function name, string, integer, real number, or another supported data type or symbol. A list is an expression that contains one or more atoms enclosed in parentheses. Each AutoLISP expression is a list, with the exception of those that start with an exclamation point. Lists often represent the following:

  • 2D points or 3D points
  • Entity data that defines an object and its properties, commonly referred to as an association list containing dotted pairs
  • An object transformation matrix
  • A grouping of related data, such as all the layers or layouts in a drawing

In this chapter, ...

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