Tag: AutoLISP
Articles with the tag "AutoLISP".
Blog Posts
Managing Configuration Files in AutoLISP
Monday, March 16, 2026Localization with AutoLISP
Tuesday, January 27, 2026AutoLISP with VS Code
Sunday, January 25, 2026Developing AutoLISP macros with VS Code
Read moreVLX Namespaces
Tuesday, March 17, 2026Questions & Answers
What is AutoLISP?
Updated: Thursday, January 15, 2026AutoLISP is a programming language built into AutoCAD, derived from the LISP language, allowing users to automate tasks and customize the CAD software.
Read answerEst-ce que AutoCAD LT supporte AutoLISP ?
Updated: Monday, August 18, 2025Est-ce que AutoCAD LT supporte AutoLISP ?
Read answerTutorials
Introduction — What Is AutoLISP?
AutoLISP: The Complete GuideDiscover the origins of AutoLISP, the programming language built into AutoCAD. From LISP to AutoLISP, learn why Autodesk made this bold choice in 1985.
Read chapterGetting Started — The Command Line
AutoLISP: The Complete GuideLearn to execute your first AutoLISP expressions directly in AutoCAD's command line. Discover the alert function and test your first calculations.
Read chapterAutoLISP Syntax
AutoLISP: The Complete GuideMaster prefix notation, understand the role of parentheses, and learn the basic rules of AutoLISP syntax. Learn to read and write LISP code with confidence.
Read chapterMathematical Operations
AutoLISP: The Complete GuideMaster AutoLISP's arithmetic functions — addition, subtraction, multiplication, division, and more. Discover the subtleties of calculations in LISP.
Read chapterVariables and Data Types
AutoLISP: The Complete GuideLearn how to store values in variables with setq, and discover the fundamental data types in AutoLISP — integers, reals, strings, and lists.
Read chapterDefining Functions
AutoLISP: The Complete GuideLearn how to create your own functions and AutoCAD commands with defun. Discover arguments, local variables, and the c: function for custom commands.
Read chapterControl Structures
AutoLISP: The Complete GuideLearn how to control the flow of your AutoLISP programs with if, cond, progn, while, and repeat. Discover comparison and logical operators.
Read chapterLists
AutoLISP: The Complete GuideDiscover lists, the fundamental data structure of LISP. Learn how to create, traverse, and manipulate them with car, cdr, cons, list, and foreach.
Read chapterInteracting with the User
AutoLISP: The Complete GuideLearn how to make your AutoLISP programs interactive using the get* functions: collecting points, distances, angles, numbers, and text entered by the user.
Read chapterInteracting with the Drawing
AutoLISP: The Complete GuideLearn how to create and modify AutoCAD entities in AutoLISP. Discover two approaches: command to simulate commands, and entmake/entmod to manipulate entities directly.
Read chapterReading and Writing Files
AutoLISP: The Complete GuideLearn how to manipulate text files in AutoLISP: open, read, write, and search for files using open, read-line, write-line, close, and findfile.
Read chapterError Handling
AutoLISP: The Complete GuideLearn how to handle errors in AutoLISP with the *error* function. Protect your programs from crashes and restore system variables when interrupted.
Read chapterSymbols and Lambda Functions
AutoLISP: The Complete GuideExplore advanced AutoLISP concepts: symbols, quoting, anonymous lambda functions, and higher-order functions like mapcar and apply.
Read chapterExtended Data and Dictionaries
AutoLISP: The Complete GuideLearn how to attach custom data to entities with xdata, store drawing-level information with extension dictionaries, and link entities together through their handles.
Read chapterReactors
AutoLISP: The Complete GuideLearn how to automatically respond to events in AutoCAD using reactors: monitor entity modifications, drawing saves, and user commands.
Read chapterActiveX Interoperability
AutoLISP: The Complete GuideLearn how to control external applications like Microsoft Excel from AutoLISP using ActiveX/COM interoperability. Export quantity takeoffs, generate reports, and automate your workflows.
Read chapter