可以加一个%%U,但是不知道怎么调整下划线线宽。
 - (defun c:xhx(/ ss n )
- ;下划线
- (setq ss (ssget '((0 . "*text"))))
- (while(setq n (ssname ss 0))
- (progn
- (setq ss (ssdel n ss))
- (vlax-put-property (vlax-ename->vla-object n) "TextString"
- (strcat "%%U" (Vlax-Get (Vlax-Ename->Vla-Object n) 'TextString )))
- )
- )
- )
|