本帖最后由 自贡黄明儒 于 2013-5-2 13:09 编辑
下面如何?
 - (defun c:CC ()
- (setq ss (ssget))
- (setq pt0 (getpoint "\n指定复制基点:"))
- (setq bool T)
- (while bool
- (command ".copy" ss "" pt0 pause)
- (setq pt (getvar "lastpoint"))
- (if (equal pt pt0)
- (setq bool nil)
- (setq pt0 pt)
- )
- )
- )
|