2011

Table Of Contents
DIESEL
You can use DIESEL (Direct Interpretively Evaluated String Expression Language) to alter the
AutoCAD
®
status line through the MODEMACRO system variable. You can also use DIESEL
in menu items as a macro language instead of AutoLISP
®
. DIESEL expressions accept strings
and generate string results.
Because DIESEL expressions handle strings exclusively, the USERS1-5 system variables are
useful for passing information from an AutoLISP routine to a DIESEL expression. DIESEL
expressions are evaluated by AutoLISP routines through the use of the AutoLISP menucmd
function.
Customize the Status Line
You can use the MODEMACRO system variable to display information on the
status line.
Overview of the MODEMACRO System Variable
The status line can provide the user with important information without
interrupting the work flow. The MODEMACRO system variable controls the
user-defined area on the status line. The calculated value of the MODEMACRO
system variable is displayed in a left-aligned panel in the status bar at the bottom
of the AutoCAD
®
window. This variable is set to the null string when you start
AutoCAD. Its value is not saved in the drawing, the configuration file, or
anywhere else.
The number of characters displayed on the status line is limited only by the size
of the AutoCAD window (and your monitor). The default panels move to the
right as the content of the MODEMACRO panel grows. It is possible to push
the default panels completely off the screen (if you want to).
5
393