文本字体
请问各位大神(command "text")如何设置字体?command "STYLE" 如果有现成的可以
(setvar 'textStyle 2beuse)
再接
(command "text")
要不也可
(command "text" "S" Pause ...) Andyhon 发表于 2019-9-28 13:30
如果有现成的可以
(setvar 'textStyle 2beuse)
再接
命令: (setvar 'textStyle 2beuse)
; 错误: AutoCAD 变量设置被拒绝: TEXTSTYLE nil (entmake
(list
'(0 . "TEXT") ;图元类型:单行文字
'(41 . 0.8) ;宽度比例
'(7 . "romans+hzdx") ;文字样式
(cons 1 "内容") ;文字内容
(cons 10 pt) ;起点
(cons 40 height) ;文字高度
(cons 8 "图层") ;图层名
(cons 62 颜色编号) ;颜色,bylayer=256
(cons 72 dz) ;文字对正类型:0 左,1 中下
(cons 50 0) ;文字旋转角度
(cons 51 0) ;文字倾斜角度
)
) shcvip 发表于 2019-9-29 17:14
It's mean your variable 2beuse nil
页:
[1]