[求助]有关镜像命令MIRROR的问题!
cad下镜像命令MIRROR后<br/>提示:要删除源对象吗?[是(Y)/否(N)] <N>:<br/>能否把初始的<N>改为<Y>?<br/>如何改?<br/> <p>正好以前寫過,試試合不合用!</p><p>(defun c:mmi()<br/> (setq en (ssget))<br/> (setq pt1 (getpoint "\n指定鏡射線的第一點:"))<br/> (setq pt2 (getpoint pt1 "\n指定鏡射線的第二點:"))<br/> (initget "Y N")<br/> (setq qq (getkword "\n是否刪除來源物件?[是(Y)/否(N)] <Y>"))<br/> (if (= qq nil) (setq qq "Y"))<br/> (command "mirror" en "" pt1 pt2 qq)<br/> (princ)<br/>)<br/>(prompt "\n<<<<< 程式指令為: mmi >>>>>")<br/></p> <p>用程序命令代替吧</p><p></p><p>(defun c:mi()<br/>(command "mirror" (ssget) "" pause pause "y")<br/>(princ)<br/>)</p> 谢谢!
页:
[1]