本帖最后由 llsheng_73 于 2024-12-29 22:25 编辑
 - (defun sk_osmode(flag)
- (setvar "osmode"((if flag rem +)(rem(getvar "osmode")16384)16384))
- )
- (defun c:tt(/ p)
- (if(setq p(getpoint"指定起点"))
- (progn
- (SK_OSMODE nil)
- (command"line"p"@-30,30""@-17,0""@-17,0""@-10,10""@0,417""")
- (SK_OSMODE t))))
|