Description
AutoLISP is designed to be easy to learn, but as programs become larger and more complex, you will need to learn to debug problems and catch errors. In this class, you learn how to debug programs, catch errors to keep your programs from terminating unexpectedly, create custom error handlers, and use undo markers to restore a drawing to its previous state. Debugging a program can be done through static messages or interactively using the Visual LISP Editor while your program is executing. To get the most from this class, you want to have prior experience with AutoLISP.
Key Learnings
- Use AutoLISP functions to perform basic debugging and use the debugging function of the Visual LISP Editor
- Create custom error handlers for your AutoLISP routines
- Apply undo markers so you can roll back any changes made
- Catch and handle errors as they occur
Speaker
- LALee AmbrosiusLee Ambrosius is a Senior Principal Content Experience Designer at Autodesk, Inc., for the AutoCAD® and AutoCAD LT products on Windows and Mac. He works primarily on the customization, developer, and CAD administration documentation along with the user documentation. Lee has presented at over 15 different Autodesk University events on a range of topics, from general AutoCAD customization to programming with the ObjectARX technology. He has authored several AutoCAD-related books, with his most recent projects being Discovering AutoCAD 2024, and AutoCAD Platform Customization: User Interface, AutoLISP, VBA, and Beyond. When Lee isn't writing, you can find him roaming various AutoCAD community forums, posting articles on his or the AutoCAD blog, or tweeting information regarding the AutoCAD product.