水平有限,不敢随便参与讨论 ,看高人的帖看不太明白,斗胆想了一个苯办法发上来,不知可行否 ? (defun c:test() (while (setq p (getpoint"\n拾取点")) (command "BOUNDARY" "A" "O" "R" "I" "N" "" "" p "") (if (= (GETVAR "LASTPROMPT") "已创建 0 个面域。") (prompt "点在外面") (progn (command "erase"(entlast) "") (prompt "点在里面") ) ) ) ) |