 - ;; 需要e派工具箱(XCAD)的支持:http://yunpan.cn/QXQKsW9gAPmpF
- (defun c:tt ()
- (if (and (setq int (Uint 7 "" "高度" int))
- (setq la (USTR 1 "图层(1~8)" la NIL))
- )
- (progn
- (xyp-MkLa la)
- (while (setq pt (getpoint "\n插入点: "))
- (setq s1 (xyp-rectang pt (xyp-Pt2XY pt 200 65))
- tx (strcat "200 WE" (itoa int))
- s2 (xyp-Text 5 (xyp-9pt s1 5) tx)
- )
- )
- )
- )
- (princ)
- )
|