CAD ADVICE
Welcome to Jim's Advice Column
Featured Dilemma:
Making a read only file out of an AutoCAD drawing file
Lance,

This area is called the status line. Try putting this code into your acad.lsp file

(setvar "modemacro" (strcat
                  "Ltscale: $(getvar,LTSCALE)  "
                        "Dimscale: $(getvar,DIMSCALE) "
                    );   end strcat
  );                     end setvar


This will work with AutoCAD R12 and above. You can have any system variable in there you want. I use this code in my ACAD.LSP file:

(setvar "modemacro" (strcat
                  "Text Style $(getvar,TEXTSTYLE)  "
                        "Elev: $(getvar,elevation) "
                    );   end strcat
  );                     end setvar

I use this because I am always interested in the textstyle and the current elevation that I am working in.

Have fun
Jim
Jim,

Is there a lisp routine to display ltscaleand dimscale below the comand line?

Lance Hudnell
[email protected]
Email: [email protected]
Hosted by www.Geocities.ws

1