Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Display sysvar value in Dwg Coord area

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
sbrusco
418 Views, 3 Replies

Display sysvar value in Dwg Coord area

Hi All,

 

I used to know how to do this but i've slept since then.

 

I think i would use a diesel expression, and i don't remember what it was, and put is somewhere that i also don't remember, and this would cause a system variable's value to constantly be displayed in the space where the coordinates for the cursor's location are displayed. This is the space at the lower-left hand corner of the AutoCAD window.

 

This is what i'm trying to do. One of my detailers is having the problem where his TEXTSIZE sysvar is changing and he doesn't know how or when. I thought if i could have it constantly displayed somewhere, he could keep an eye on it and try to determine what he's doing that changes it.

 

Any help with my solution or with any other possible solution would be greatly appreciated.

 

TIA

Sal


3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: sbrusco

this is a bit of my acaddoc.lsp file...

 

 (setvar "modemacro"
                (strcat
                 "TextStyle: $(getvar,textstyle)  "
                 "TextHeight: $(getvar,textsize)  "
                 "DimScale: $(getvar,dimscale)  "
                 "DimStyle: $(getvar,dimstyle)  "
                )
    )

 

 

Message 3 of 4
sbrusco
in reply to: Anonymous

Thanks lpseifert,

 

"modemacro" was the missing key from my memory.

 

Sal


Message 4 of 4
scot-65
in reply to: sbrusco

For some reason (I don't know exactly why) the text in front

may not display properly. In order to fix this use the following:

 

$(substr,"Textstyle ",1,10)

 

Not tested; going from memory.


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost