CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
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 CAD tip # 3483:

Question

CAD 
 %  platform  category 
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
100% *CAD
17.12.2003    17202×  
applies to: AutoCAD ·


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist