PDA

View Full Version : Get and Store Current Text Style?


timothyjturner
2006-03-14, 03:47 PM
I am trying to figure out how to get the current text style settings, store it in a variable so I can change the settings in my lisp, write some text in my style, and then change it back to the old style.

T.Willey
2006-03-14, 05:00 PM
(getvar "textstyle")

This will get you the current text style being used.

rkmcswain
2006-03-14, 08:14 PM
I am trying to figure out how to get the current text style settings, store it in a variable so I can change the settings in my lisp, write some text in my style, and then change it back to the old style.

(entget (tblobjname "style" (getvar "textstyle")))