Autolisp to display 3 things in the status line?
Does anyone know/have an autolisp to display 3 things in the status line? One is a variable we use for customization (block scale, with is userr2 or something like that), one is the dimension scale, and one is the linetype scale? I know how to add it, but I just don't HAVE it.
I know that with modemacro I can temporarily display things, but I want a lisp that will be added to my startup.
Please?
RE: Help for Status Line Display??
Save this into a .lsp file and add to your startup:
Code:
(setvar "modemacro"
(strcat
"Block Scale: $(getvar,textstyle), " ;change to appropriate variable
"Dim Scale: $(getvar,dimscale), "
"LT Scale: $(getvar,ltscale)"
)
)
Ty :mrgreen:
RE: Help for Status Line Display??
Quote:
Originally Posted by tyshofner
Save this into a .lsp file and add to your startup:
Code:
(setvar "modemacro"
(strcat
"Block Scale: $(getvar,textstyle), " ;change to appropriate variable
"Dim Scale: $(getvar,dimscale), "
"LT Scale: $(getvar,ltscale)"
)
)
Ty :mrgreen:
Perfecto! EXACTLY what I wanted. Thank you!
RE: Help for Status Line Display??
Quote:
Originally Posted by sschwartz
Does anyone . . .display 3 things in the status line. . . userr2 . . . dimension scale . . . linetype scale. . .
Code:
(setvar "modemacro" "U2=$(getvar,USERR2),DS=$(getvar,DIMSCALE),LTS=$(getvar,LTSCALE)" )
: ) Happy Computing !
kennet
RE: Help for Status Line Display??
Quote:
Originally Posted by kennet.sjoberg
Code:
(setvar "modemacro" "U2=$(getvar,USERR2),DS=$(getvar,DIMSCALE),LTS=$(getvar,LTSCALE)" )
: ) Happy Computing !
kennet
Thanks! This format works!!