PDA

View Full Version : Set the current text style via LISP?


pmedina
2006-11-13, 07:49 PM
After i have a text style in a drawing, can i set the current text style with lisp?
Currently I can only do it with the "-style" command.

Thanks

Ogre
2006-11-13, 07:54 PM
After i have a text style in a drawing, can i set the current text style with lisp?
Currently I can only do it with the "-style" command.

Thanks

Where STYLE is the desired style...You will still have to verify what style you want, unless you hardcode each style...


(setvar "textstyle" STYLE)

pmedina
2006-11-13, 08:01 PM
Thanks. The style will already exist in the drawing when i make it current. In my case it is first inserted into the dwg as a block, then the current text style is set.