
- ;略作修改
- (defun c:pp()
- (setq cm (getvar "cmdecho"))
- (setvar "cmdecho" 0)
- (prompt "\n 多项选择同时连线----钮广春整理--★QQ-626860125★")
- (setvar "peditaccept" 1) ;加入这个系统变量的代码
- (if (setq ngc01 (ssget '((0 . "LINE,ARC,LWPOLYLINE,POLYLINE"))))
- (command "_pedit" "m" ngc01 "" "j" "0.1" "")
- )
- (setvar "cmdecho" cm)
- (princ)
- )
|