About Controlling Low-Level Graphics (AutoLISP)

Low-level graphics in the drawing area and application window can be controlled using AutoLISP functions.

The following functions can be used to draw temporary objects in the drawing area or display text in the status bar:

Note: Because these functions depend on code in AutoCAD, their operation can be expected to change from release to release. There is no guarantee that applications calling these functions will be upward compatible. Also, they depend on current hardware configurations. In particular, applications that call grtext are not likely to work the same on all configurations unless the developer is very careful to use them as described and to avoid hardware-specific features. Finally, because they are low-level functions, they do almost no error reporting and can alter the graphics screen display unexpectedly (see the following example for a way to fix this).

The following sequence restores the default graphics window display caused by incorrect calls to grtext, grdraw, or grvecs:

(grtext) ; Restores standard text
(redraw)