Running the Program With Visual LISP

Running AutoLISP programs in Visual LISP allows you to use the many debugging features of Visual LISP to investigate problems that may occur in your application.

To load and run the program

  1. With the text editor window active, click Tools Load Text in Editor from the Visual LISP menu.
  2. At the _$ prompt in the Visual LISP Console window, enter (C:GPath).

    The Console window expects commands to be entered in AutoLISP syntax, so all function names must be enclosed in parentheses.

  3. Press Enter or click OK in response to the message windows. The final message should read “Congratulations - your program is complete!”
Note: If AutoCAD is minimized when you run gpath, you will not see the prompts until you restore the AutoCAD window (using either the taskbar or Alt+Tab).