To run a LISP routine
- Advanced experience menu level
- Do one of the following:
In the Load Application Files dialog box, choose the routine you want to run (make sure that it is the only one selected), and then click Load.
- Choose Tools > Load LISP or SDS Application.
- Type appload and then press Enter.
Some LISP routines are created in such a way that you can run them by simply typing the name of the routine, or by typing a keyword, directly in the command bar. If nothing happens when you attempt to run the LISP routine from within the Load Application Files dialog box, turn on the display of the command bar or Prompt History window by choosing View > Prompt History Window and look for an entry that is similar to the following:
where D:\path\routine.lsp is the complete drive, path, and file name of the LISP routine. You may need to scroll back several lines in the command bar or Prompt History window to find the lines indicating where the LISP routine was loaded. If you see an entry that looks like this, you can run the LISP routine by typing the name of the routine or keyword appearing after the C drive designation.
For example, if you loaded a LISP routine named drawbox.lsp and see the designation C:DRAWBOX in the command bar or Prompt History window, you can run the LISP routine by typing drawbox in the command bar.
Tell me about...
Understanding AutoLISP compatibility
Using LISP routines
How do I...
Load a LISP routine
Run a LISP routine