Loading a specific text style with a startup lisp

WILLIE

Usenet Archive
Joined
Jan 28, 2002
Messages
29
Reaction score
0
I would like to load a specific text style in my startup lisp routine. Can someone give me an example of a way to do this.

TIA
 
I have the following in my acad.lsp on the second line:
(COMMAND "STYLE" "STANDARD" "arial.ttf" "" "" "" "" "")

If you would be using one of Autocad's shx files, then you would have to use the following (example);

(COMMAND "STYLE" "STANDARD" "romans" "" "" "" "" "" "")
 
(command "_.style" "STANDARD" "txt.shx" "0.125" "" "" "" "" "") ;; "" in order:
Width Factor
Oblique Angle
Backwards (Y/N)
Upside-down(Y/N)
Vertical ?
 
some fonts might have vertical just., to ignore vertical Y/N prompt can use (command "_.-style" "STANDARD" "txt.shx" "0.125" "" "" "" "")(command)
 
can I also query the dim scale and bring the text style in at 0.1 times the dimscale?
 

Latest threads

Back
Top