Untitled

(Steven Felgate) #1
SETVAR or by entering modemacro at the command prompt. If you modify
the MODEMACRO setting, you can experiment with various status line formats;
however, the maximum number of characters you can enter in this manner
is 255.

If you set MODEMACRO to the null string by entering a period (.), AutoCAD
LT displays the standard status line.

Quick Reference


Commands

SETVAR

Lists or changes the values of system variables.

System Variables

MODEMACRO

Displays a text string on the status line, such as the name of the current
drawing, time/date stamp, or special modes.

Set MODEMACRO Values


You can use text strings and DIESEL to display messages in the user-defined
section of the status line.

The value of MODEMACRO determines what is displayed in the mode status
line. The simplest (and least useful) MODEMACRO consists of constant text.
For example, to display a company name in the status line, you enter the
following:

Command: modemacro
New value for MODEMACRO, or. for none <"">: Greg's Bank and Grill

This MODEMACRO value always displays the same text; the status line does
not reflect changes to the AutoCAD LT internal state. It doesn't change until
you change MODEMACRO.

To make the status line reflect the AutoCAD LT current state, enter macro
expressions using the DIESEL language in the following format:

$(somefun,arg1,arg2, ...)

In the macro expression, somefun is the name of the DIESEL function, and
arg1, arg2, and so on, are arguments to the function, interpreted according

326 | Chapter 5 DIESEL

Free download pdf