莱鸟求助:如何在些段程序里使用3次后加提示注册?
(defun c:cl (/ os ce bm ss se la )<BR> (prompt "")<BR> (setq os (getvar "osmode")<BR> ce (getvar "cmdecho")<BR> bm (getvar "blimpode")<BR> )<BR> (setvar "osmode" 37)<BR> (setq se (getstring "\n input layer name<any key>/select matching object <enter>")<BR> )<BR> (if (= se "")<BR> (progn<BR> (setq la (cdr (assoc '8 (entget (car (entsel "\n select an object to match it"<BR> ) ) ) ) ) )<BR> (setq ss (ssget))<BR> (command "copy" ss "" "@" "@")<BR> (command "_change" ss "" "p" "la" la "")<BR> )<BR> (progn<BR> (setq la (getstring "\n enter layer name>"))<BR> (setq ss (ssget))<BR> (command "copy" ss "" "@" "@")<BR> (command "_change" ss "" "p" "la" la "")<BR> )<BR> )<BR> (setvar "osmode" os)<BR> (setvar "cmdecho" ce)<BR> (setvar "blipmode" bm)<BR> (princ)<BR>) <p>有这样的功能 吗/???</p><p>支持原创!!</p><p>支持共享!!</p> <p>支持原创!!</p><p>支持共享!!</p> 又学到 我也想要这样的程序哦.学习! 自己编的喜欢这个,用别人的程序就不喜欢了 同意楼主的说法,人就是这样。呵呵
页:
[1]