Would you like to see current settings for important system variables on tshe status bar? It looks like this:
It shows the date, DIMSCALE, LTSCALE, DIMSTYLE, and current UCS name (I named my UCS “anything“). You can put any system variable you like here. This code is in DIESEL.
; —- Mode Macro for status bar —
(setvar “modemacro”
(strcat
“Date = $(edtime, $(getvar,tdupdate),M/D/YY) Dimscale = $(getvar,dimscale) LTscale = $(getvar,ltscale) Dimstyle = $(getvar,dimstyle) UCS = $(getvar,ucsname)”
)
)
(princ)
Save this in your acad.lsp file. Then close AutoCAD (if it’s open) and open it again. That’s all there is to it!
If you don’t have an acad.lsp file, you can create it. Place it in the support file search path.
Thanks to Devon Middleditch, CAD Manager, Sydney Australia for this code. (I changed the format of the date in his code to “Americanize” it.)
- Clean your screen with AutoCAD’s Clean Screen feature - November 26, 2020
- Draw a circle centered in a rectangle - October 16, 2020
- Automate the creation of details and sections on a layout - October 9, 2020
Leave a Reply