To Run a Compiled Program from the Visual LISP Console Window (Visual LISP IDE)

After a program is compiled, it must be loaded before you can be used.

Note: The Visual LISP IDE is available on Windows only.
  1. At the Visual LISP Console window, enter an AutoLISP statement that uses the load function.

    For example, to load the compiled yinyang program, enter the following and press Enter:

    (load "c:/program files/Autodesk/<AutoCAD installation directory>/sample/visuallisp/yinyang.fas")
  2. At the Visual LISP Console window prompt, enter the name of the function you want to run, enclosing the name in parentheses.

    For example:

    (yinyang)

    Visual LISP transfers control to the current drawing in the AutoCAD environment to display program prompts and accept user input. If the name of the function you are running begins with c:, you can invoke it from the AutoCAD Command prompt as if it were an AutoCAD command, that is, without enclosing the name in parentheses.

    Note: Once a program is loaded, it can be ran from either the AutoCAD Command prompt or the Visual LISP Console window prompt.