Over 1.092.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 3483:
Question
A
To display the status of several AutoCAD system variables, you can use the special MODEMACRO variable. If you set it e.g. to the expression:
"osmode= $(getvar,osmode), filedia= $(getvar,filedia)"your status line will show current values of these two variables. Similar to other LISP variables, MODEMACRO loses its value on opening of another drawing. If you want to set its value automatically, set MODEMACRO in your ACAD.LSP, resp. ACADDOC.LSP (in the S::STARTUP function).
ACAD


17.12.2003
17202×
applies to: AutoCAD ·