欢迎访问《图学学报》 分享到:

图学学报

• 计算机辅助设计与应用 • 上一篇    下一篇

基于VBA的线路纵断面图的自动绘制

  

  • 出版日期:2010-04-30 发布日期:2015-08-11

Automatic Drawing of Longitudinal Section for Railway Lines Based on VBA

  • Online:2010-04-30 Published:2015-08-11

摘要: 在对线路纵断面图的构成要素进行分析的基础上,利用VBA对AutoCAD的自主定制,编制了自动绘制线路纵断面图的程序,实现了线路纵断面图自动绘制。首先将绘制线路纵断面图有关的数据组织成若干个Excel表,然后建立AutoCAD与Excel之间的通信,最后通过Excel的对象模型实现对Excel数据表的访问。

关键词: 计算机应用, 自动绘图, 线路纵断面图, AutoCAD定制

Abstract: The customization of AutoCAD with VBA is performed upon the data analysis of railway longitudinal section, and an auto-drawing system for this kind of drawings is realized. Firstly, the data related to the longitudinal section are organized to several Excel lists; then, the communication between AutoCAD and Excel is built; finally, the access of Excel lists is realized according to Excel-VBA mode.

Key words: computer application, auto-drawing, longitudinal section, AutoCAD customization