为什么不呢?
看看这是否有效(可能的问题是非英语字母,
如果我没记错的话,我也有过同样的问题
德语“A”元音字母)
复制粘贴此剪贴:
- (setq teksthoogte "ANNO-Tekst 2.5")
- (if (not (tblsearch "style" teksthoogte))
- (entmake
- (list
- '(0 . "STYLE")
- '(-3 ;; Make the style annotative
- ("AcadAnnotative"
- (1000 . "AnnotativeData")
- (1002 . "{")
- (1070 . 1)
- (1070 . 1)
- (1002 . "}")
- )
- )
- '(100 . "AcDbSymbolTableRecord")
- '(100 . "AcDbTextStyleTableRecord")
- (cons 2 teksthoogte) ;; Style name
- '(70 . 0) ;; Standard flag values (bit-coded values)
- '(40 . 1. ;; text height
- '(41 . 1.0) ;; width factor
- '(50 . 0.0) ;; oblique angle
- '(71 . 0) ;; text generation "0" normal text
- '(42 . 0) ;; last height used
- '(3 . "Arial.ttf") ;; font file name
- '(4 . "") ;; bigfont (blank for no)
- ) ;; end list
- ) ;; end entmake
- ) ;; end if
|