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, ...
Get AutoCAD Platform Customization: User Interface, AutoLISP, VBA, and Beyond now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.