(defun c:z5 ()(setvar "cmdecho" 0) (setvar "osmode" (+ 0 1 2 4 8 16 32 128 256 512 1024 2048)) (setvar "cmdecho" 1) (prin1) )
;;0 NON(无);1 END(端点);2 MID(中点);4 CEN(圆心);8 NOD(节点);16 QUA(象限点);32 INT(交点)
;;64 INS(插入点);128 PER(垂足);256 TAN(切点);512 NEA(最近点);1024 QUI(快速);2048 APP(外观交点);4096 EXT(尺寸线);8192 PAR(平行);输入命令:(setq #os (getvar "osmode"));;得到当前捕捉设置
(setvar "osmode" 0);;关闭捕捉 (setvar "osmode" #os);;还原捕捉