摘要
采用V isual LISP程序设计语言对AutoCAD进行二次开发,可以方便地获得满足设计功能良好的应用程序.介绍了用V isual LISP语言对AutoCAD2004进行二次开发实现表面粗糙度的交互式标注的方法和结果,主要包括:用对话框控制语言(DCL)结合V isual LISP语言开发人机交互界面;用V isual LISP语言编制表面粗糙度标注的参数化绘图程序;采用V isual FoxPro作为开发工具,建立表面粗糙度标注查询数据库系统,并将其嵌入AutoCAD,开发在AutoCAD中调用电子化设计手册的实时查询系统.结果表明,该系统可为AutoCAD软件用户提供使用简便且界面友好的表面粗糙度标注交互式环境.
An approved application which satisfies design function can be easily obtained by using the Visual LISP language to re - develop AutoCAD. The method and result of using Visual LISP language to re - develop the AutoCAD2004 in order to realize marking roughness interactively are introduced in this paper. What we have developed for this program mainly includes: developing a man -machine conversation interface by DCL (Dialog Control Language) and Visual LISP language; developing parametric drawing programs of marking roughness by Visual LISP language; and establishing the query database system for marking roughness by Visual FoxPro. By integrating the query database system into AutoCAD, the real - time query system which can invoke an electronic designing handbook in AutoCAD is developed. It is indicated that the system has friendly interface that provides AutoCAD users a convenient interactive environment for marking roughness.
出处
《昆明理工大学学报(理工版)》
2005年第5期42-46,共5页
Journal of Kunming University of Science and Technology(Natural Science Edition)