首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于VBA技术的AutoCAD二次开发在地形图绘制中的应用
引用本文:李志锐,李法虎.基于VBA技术的AutoCAD二次开发在地形图绘制中的应用[J].农业工程学报,2007,23(10):25-30.
作者姓名:李志锐  李法虎
作者单位:中国农业大学水利与土木工程学院,北京,100083;山东省东明县建设局,山东,274500;中国农业大学水利与土木工程学院,北京,100083
摘    要:地形图绘制是农业工程领域生产实践活动中经常遇到的基础性工作。传统的地形图绘制需要大量的手工作业,效率较低。该文以VBA(Visual Basic for Application)为开发平台,对AutoCAD应用软件在地形图绘制中的应用进行了二次开发,从而实现了区域地形点的自动展绘。结合工程应用实例,探讨了运用AutoCAD内置的VBA进行二次开发的方法和过程。程序运行结果显示,该文介绍的方法占用内存小,自动化程度和工作效率高,适用范围广,可自动完成各类地形点的展绘工作,从而为各类地形图的自动绘制奠定了基础。

关 键 词:AutoCAD  VBA  二次开发  地形图
文章编号:1002-6819(2007)10-0025-06
收稿时间:2006/8/13 0:00:00
修稿时间:2006-08-13

Extended application of AutoCAD on the map-making based on VBA technology
Li Zhirui and Li Fahu.Extended application of AutoCAD on the map-making based on VBA technology[J].Transactions of the Chinese Society of Agricultural Engineering,2007,23(10):25-30.
Authors:Li Zhirui and Li Fahu
Institution:Faculty of Water Resources and Civil Engineering, China Agricultural University, Beijing 100083, China;Dongming Construction Bureau, Shandong 274500, China;Faculty of Water Resources and Civil Engineering, China Agricultural University, Beijing 100083, China
Abstract:The drawing of topographical map is one of the basic works in practical production activity on agricultural engineering field. The traditional map-making needs a great deal of handicraft homework, and its efficiency is low. Based on the VBA(Visual Basic for Application) code, the extended application of AutoCAD software on map-drawing was developed and designed, which realized the automatic input of landform data and the drawing of topographic map. Combining an engineering example, the method and process to develop an extended application of AutoCAD with an inserted VBA code was discussed and illustrated. The operating result of the designed procedure indicats that the memory space occupied is small, the automatic degree and work efficiency for map-making are high, and its applicable scope is wide. The designed procedure can complete the drawing of topographic points automatically, and hence establishes a foundation for the making of topographic map.
Keywords:AutoCAD  VBA
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号