diff --git a/src/std/osmode-off.lsp b/src/std/osmode-off.lsp new file mode 100644 index 0000000000000000000000000000000000000000..3092b103a50c370f435f7a772f50111ec5d68e5f --- /dev/null +++ b/src/std/osmode-off.lsp @@ -0,0 +1,4 @@ +(defun std:osmode-off () + "关闭对象捕捉,不影响对象捕捉设置。" + "" + (setvar "osmode" (boole 7 (getvar "osmode") 16384))) diff --git a/src/std/osmode-on.lsp b/src/std/osmode-on.lsp new file mode 100644 index 0000000000000000000000000000000000000000..88f2368fe71e1734d75907c9683110040b320a73 --- /dev/null +++ b/src/std/osmode-on.lsp @@ -0,0 +1,5 @@ +(defun std:osmode-on () + "打开对象捕捉,不影响对象捕捉设置。" + "" + (setvar "osmode" (- (boole 7 (getvar "osmode") 16384) 16384)) + )