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

Authoring, Managing, and Loading AutoLISP Programs

Entering AutoLISP® expressions directly at the Autodesk® AutoCAD® Command prompt is a great way to start learning AutoLISP programming. However, if you want to use expressions multiple times or in different drawings, you will need to enter them over and over again.

Instead of entering AutoLISP expressions at the Command prompt, you can store them in an ASCII text file with a .lsp extension. In addition to entering AutoLISP expressions in a LSP file, you can add nonexecutable expressions known as comments, which allow you to make notes to yourself in the code. After you create a LSP file, you must ...

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