继续发几个二合一命令希望大家喜欢
本帖最后由 tranney 于 2013-7-15 17:27 编辑(setq eee1 1)
(defun c:2v() (princ "视图工具 左右视窗:\n") ;左右视窗
(setvar "cmdecho" 0)
(setq eee1 (* eee1 -1))
(command "-vports" "si")
(if (< eee1 0)
(command "-vports" "2" "v"))
(setvar "cmdecho" 1)
(princ)
)
(setq fff1 1)
(defun c:2h() (princ "视图工具 上下视窗:\n") ;上下视窗
(setvar "cmdecho" 0)
(setq fff1 (* fff1 -1))
(command "-vports" "si")
(if (< fff1 0)
(command "-vports" "2" "h"))
(setvar "cmdecho" 1)
(princ)
)
借花献佛
;---------- 全屏显示
(defun c:k ()
(if (= 0 (getvar "CLEANSCREENSTATE"))
(command "commandlinehide" "CleanScreenon")
(command "commandline" "CleanScreenOFF"))
(princ)) 谢谢楼主分享
收下,备用。谢谢! 这么好的程式怎么没人支持呢。 谢谢楼主的分享!很有用啊。 ;---------- 全屏显示
(defun c:k ()
(if (= 0 (getvar "CLEANSCREENSTATE"))
(command "commandlinehide" "CleanScreenon")
(command "commandline" "CleanScreenOFF"))
(princ))这个是半平的,呵呵
哥,没注意是借花献佛
多谢分享,辛苦 好东西,谢谢分享。 顶起来
页:
[1]
2