有高手写的 ; ;可以用(handent hand)函数 ; (defun h2v(whand / ent ed eType pt) (setq ent(handent whand)) (setq ed(entget ent)) (setq eType(cdr(assoc 0 ed))) (cond ((= eType "INSERT") (setq pt(cdr(assoc 10 ed))) ) ;其它类型的ent ) (command "_.zoom" "c" pt 20) (redraw ent 3) ) ; 但我不会用,是lisp吗 |