1个回答
展开全部
快捷键是用LISP写的,不管VB,VBA或其它,大都会用LISP调用
如:
(defun C:TOO() (graphscr) (setvar "cmdecho" 0)(startapp (strcat "D:\\Zsyan\\ZcadExe\\3Dto2D.exe"))(setvar "cmdecho" 1) (princ))
;;用TOO命令打开文目录D:\Zsyan\ZcadExe下的文件3Dto2D.exe
(defun C:JE()
(setq SetObj (entsel "选择要*连接*删除*的线条"))
(command "PEDIT" SetObj "y" "j" "all" "" "" ^m)
(command "ERASE" "L" "" ^m)
)
;;用JE命令调用一段命令
(defun C:QQ()
(vl-vbaload "D:/Zsyan/Zsyan.dvb")
(vl-vbarun "ZcadUpgrade")
)
;;用QQ加载一个VBA文件,并调用里面的ZcadUpgrade工程
如:
(defun C:TOO() (graphscr) (setvar "cmdecho" 0)(startapp (strcat "D:\\Zsyan\\ZcadExe\\3Dto2D.exe"))(setvar "cmdecho" 1) (princ))
;;用TOO命令打开文目录D:\Zsyan\ZcadExe下的文件3Dto2D.exe
(defun C:JE()
(setq SetObj (entsel "选择要*连接*删除*的线条"))
(command "PEDIT" SetObj "y" "j" "all" "" "" ^m)
(command "ERASE" "L" "" ^m)
)
;;用JE命令调用一段命令
(defun C:QQ()
(vl-vbaload "D:/Zsyan/Zsyan.dvb")
(vl-vbarun "ZcadUpgrade")
)
;;用QQ加载一个VBA文件,并调用里面的ZcadUpgrade工程
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询