Steve Voorhees
Usenet Archive
- Joined
- Feb 6, 2004
- Messages
- 1
- Reaction score
- 0
when I use the "command" to set style in lsp to arial for my style title it gets substituted with my default acad font of romans. When I close out of the drawing and re-open it I have it back. Some where I am loosing my font support when in lsp using the command entry. The code looks like this:
(defun C:gridbub
(setvar "cmdecho" 0)
(setq la (getvar "clayer"))
(command "osnap" "ENDP")
(setq tin (getvar "textstyle"))
(command "style" "TITLE" "" "" "" "" "" "" "")
(setq sc (getvar "userr1")
pa (getpoint "\nPick grid buble centerpoint: ")
tx1 (getstring T "\nEnter grid buble text: ")
ra (* sc 3.00)
hi (* sc 2.25)
)
(command "layer" "s" "S-ANNO-TEXT" ""
"circle" pa ra
"layer" "s" "S-ANNO-TEXT" ""
"text" "m" pa hi "0.0" tx1
)
(command "layer" "s" la "")
(command "style" "STANDARD" "" "" "" "" "" "" "")
(command "osnap" "off")
(princ)
)
any comments??????
(defun C:gridbub
(setvar "cmdecho" 0)
(setq la (getvar "clayer"))
(command "osnap" "ENDP")
(setq tin (getvar "textstyle"))
(command "style" "TITLE" "" "" "" "" "" "" "")
(setq sc (getvar "userr1")
pa (getpoint "\nPick grid buble centerpoint: ")
tx1 (getstring T "\nEnter grid buble text: ")
ra (* sc 3.00)
hi (* sc 2.25)
)
(command "layer" "s" "S-ANNO-TEXT" ""
"circle" pa ra
"layer" "s" "S-ANNO-TEXT" ""
"text" "m" pa hi "0.0" tx1
)
(command "layer" "s" la "")
(command "style" "STANDARD" "" "" "" "" "" "" "")
(command "osnap" "off")
(princ)
)
any comments??????