AutoLISP Developer's Guide (AutoLISP)

The AutoLISP Developer's Guide provides you with an overview of the main topics and workflows for using the AutoLISP programming language.

Tutorials

AutoLISP Programming

Getting Started

Getting Organized

AutoLISP and Visual LISP

AutoLISP Documentation

Related Developer References

New and Changed AutoLISP Functions Reference

Basics

Expressions

Function Syntax

Defining Commands

Variables

Source Code Files

Comments in AutoLISP Program Files

Create and Open AutoLISP Source Code Files

Data Types

Integers

Reals

Lists

Point Lists

Dotted Pairs

Strings

Entity Names

Nil

Converting Data Types and Geometric Utilities

Angular Conversion

String Conversions

ASCII Codes

Coordinate System Transformations

Geometric Utilities

Unit Conversion

Working with AutoCAD and Using Commands

System and Environment Variables

Using AutoCAD Commands

Undoing Changes Made by a Routine

Pausing for User Input During an AutoCAD Command

Passing Pick Points to AutoCAD Commands

Accessing and Assigning Help to a Command

Prompting for User Input

Accessing and Requesting User Input

Controlling User-Input Function Conditions

Arbitrary Keyboard Input

Manipulating Drawing Objects

Adding an Entity without Using the Command Function

Modifying an Entity without the Command Function

Obtaining Entity Information

Selecting Objects and Selection Sets

Attaching Extended Data to an Entity

Symbol Tables

Dictionary Objects and Entries

Interacting with Devices and Operating System

Configuration Files

Controlling the Graphics and Text Windows

Controlling Low-Level Graphics

Controlling Menus

Calibrating Tablets

Searching for Files

File Descriptors

Handling Errors in AutoLISP Programs

Error Handling

Using the *error* Function

Catching Errors and Continuing Program Execution

Exiting a Function Quietly

Debugging AutoLISP Programs

Displaying Messages

Utilizing the Visual LISP Editor (Windows only)

Working with Programmable Dialog Boxes DCL (Windows only)

Extending AutoLISP with ActiveX (Windows only)