求助: (defun gps->entmaklg ( / oldclayer) (if(null YH_DNscale) (setq YH_DNscale 100)) (setq bili (/ YH_DNscale 100)) (if (null (TBLSEARCH "block" "GPS_bz_lg")) (progn (setq oldCLAYER (getvar "CLAYER")) (setvar "CLAYER" "0") (entmake (list '(0 . "BLOCK") '(2 . "GPS_bz_lg") '(70 . 0) '(10 0 0 0) ) ) (entmake '((0 . "CIRCLE") (10 0 0 0) (40 . 65) )) (entmake '((0 . "endblk"))) (setvar "CLAYER" oldCLAYER) ) ) ) 将半径定义为(entmake '((0 . "CIRCLE") (10 0 0 0) (40 . (* BILI 65)) )) 为何就做不出来了呢? 或者是还有什么方法可以将半径65与BILI关联呢? 我想在此(command "-insert" "GPS_bz_lg" PAUSE "" "" "")命令之前把半径改好,这样插入时候就可以预览到块的大小。 |