期刊文献+

AutoCAD 2000 Visual LISP事件反应器编程技术

The Apple for Reactor in Design of Program of AutoCAD 2000 Visual LISP
下载PDF
导出
摘要 作为AutoLISP更新换代产品的VisualLISP被正式集成于 1 999年 3月出版的AutoCAD2 0 0 0当中 ,VisualLISP不但提供了完全可视化的代码编写、调试环境 ,而且还新增加了对ActiveX和事件反应器技术的支持 ,对应于标准Windows消息的AutoCAD事件反应器 ,可以随时监测每次AutoCAD工作中任何你感兴趣的事件的发生并自动调用相应的函数———回调函数。VisualLISP支持包括编辑器、反应器、对象反应器等共 5种反应器 ,每种反应器响应一个或多个AutoCAD事件 ,并通过回调函数同应用程序相互通讯 ,而回调函数只不过是一个被绑定于事件反应器上的标准AutoLISP函数 ,对事件反应器技术在VisualLISP编程中的应用方法及如何定义回调函数作了详细地介绍并附以相应的应用实例 ,事件反应器的应用使得AutoCAD向更具智能化又迈出了重要一步。 Visual LISP as a renew AutoLISP product was formally integrated in AutoCAD 2000 published in March,1999. Visual LISP not only provides totally Visual programming and debugging environment, but also adds more support to the ActiveX and event reactor. According to the standard Windows information AutoCAD event reactor can inspect any event that interests you and transfer corrsponding function called call-back function during AutoCAD running. Visual LISP support five reactors,including editor reactor, object reactor and so on. Each reactor responses one or several AutoCAD event and intercommunicates with application of call-back function. In fact, the call-back function is only a standard AutoLISP function binded to the event reactor. This article introduces in detail how to use event reactor technology in Visual LISP programming and how to declare the call-back function, moreover, it provides corresponding application examples as well. Application of the event reactor make an important step for more intelligent AutoCAD.
作者 王墅 张旭
出处 《抚顺石油学院学报》 2000年第2期55-58,共4页 Journal of Fushun Petroleum Institute
关键词 反应器 CAD VISUALLISP 编程技术 软件 Reactor AutoCAD 2000 Visual LISP Design of programme
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部