The Visual LISP Console window allows you to execute and check a line of AutoLISP code.
Do one of the following:
- Press Tab to retrieve the most recently entered text at the Visual LISP Console window prompt. Continue pressing Tab to step further back into the Console window’s history.
- Press Shift+Tab to reverse the direction in which you step through Visual LISP Console window’s history.
Example
This example expects the following text to have been previously entered in the Visual LISP Console window.
(setq origin (getpoint "\nOrigin of inyn sign: ")) (setq radius (getdist "\nRadius of inyn sign: " origin)) (setq half-r (/ radius 2)) (setq origin-x (car origin)) (command "._CIRCLE" origin radius)
- In the Visual LISP Console Window, press Tab once.
Visual LISP retrieves the last text entered and places it at the Console window prompt.
(command "._CIRCLE" origin radius)
- Press Tab again.
The following text displays at the Console window prompt.
(setq origin-x (car origin))
- Press Tab again.
Visual LISP displays the following text at the Console window prompt.
(setq half-r (/ radius 2))
- Press Shift+Tab.
Visual LISP reverses direction and retrieves the previous text and displays it at the Console window prompt.
(setq origin-x (car origin))
- Press Shift+Tab again.
Visual LISP displays the following text at the Console window prompt.
(command "._CIRCLE" origin radius)
This was the last text entered at the Console window prompt.
- Press Shift+Tab again.
Because the previous text retrieved was the last text entered in the Console window, Visual LISP starts again by retrieving the first text entered in the Console window.
(setq origin (getpoint "\nOrigin of inyn sign: "))