(setq gp (getpoint "\n选择插入点:")) ;;;(setq pt1 (polar gp 0 11)) ;;;(setq pt2 (polar pt1 (/ pi 2) 11)) (setq gt (getstring t "\n请输入代号:")) (setq ssgrp (ssadd)) (setq c1(command "circle" gp 11)) (ssadd (entlast) ssgrp) (setq c2(command "circle" gp 7)) (ssadd (entlast) ssgrp) (command "_attdef" "i" "" "code" "代号" "" gp "0.002" "");文字高度这么小,看得见吗? (ssadd (entlast) ssgrp) (setq blkn (rtos (* 100000000 (getvar "cdate")) 2 0)) (command "_block" blkn gp ssgrp "") (command "insert" blkn gp 1 1 0 gt)
|