From the course: AutoCAD Customization for CAD Managers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Visual LISP - AutoCAD Tutorial
From the course: AutoCAD Customization for CAD Managers
Visual LISP
- [Instructor] In our visual lisp editor inside AutoCAD let's create another lisp routine. We're going to start inside this lisp routine with a line of code named VL-LOAD-COM. This makes sure that any visual lisp functionality is available for use inside our lisp routines. It's probably good to have this line of code added to our acad.lsp file. We'll talk about that in a minute. What we're going to do is we're going to take advantage of the visual lisp functionality and we're going to change the template drawing path from our options that we set back in chapter one. So to do that we first are going to get our entire AutoCAD object application. To do this, we're going to call two different visual lisp functions. One is getting the AutoCAD object and then getting the application from the AutoCAD object. Let's inspect the results of running this function. Notice the results we have all the documents as well as the full name of the program application location as well as the program…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.