Untitled

(Steven Felgate) #1

DIESEL


You can use DIESEL (Direct Interpretively Evaluated String Expression Language) to alter the
AutoCAD LT® 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.


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 LT® window. This variable is set to the null string when you
start AutoCAD LT. 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 LT 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).

You can use the MODEMACRO system variable to display, in the status line,
most data known to AutoCAD LT. With its calculation, decision, and editing
facilities you can compose the status line to your precise specifications.

MODEMACRO is a user-string variable. It can be set to any string value. The
maximum string value is 4095 characters. You can set MODEMACRO with

5


325

Free download pdf