土工基础 ›› 2021, Vol. 35 ›› Issue (2): 96-100.

• 工程实录 • 上一篇    下一篇

AutoCAD二次开发及其在基坑工程中的应用研究

朱 佳   

  1. (中南勘察设计院集团有限公司,武汉 430000)
  • 收稿日期:2020-02-23 修回日期:2020-03-06 出版日期:2021-04-23 发布日期:2021-04-23
  • 作者简介:朱 佳(1986-),男,硕士,工程师,研究方向为基坑工程,地基处理,边坡工程等。

AutoCAD User Denvelopment Methods in Deep Excavation Applications

ZHU Jia   

  1. (Central South Survey Design Institute Group Co. Ltd., Wuhan 430000)
  • Received:2020-02-23 Revised:2020-03-06 Online:2021-04-23 Published:2021-04-23

摘要: 从基坑工程施工图纸的特点及其实现自动化绘制的可能性、现实意义出发,简要介绍了AutoCAD二次开发的起源及其主流的二次开发方式,同时对基于VBA的二次开发编程环境的搭建进行了说明。在此基础上详细阐述了基坑自动绘图程序的实现方法:对AutoCAD常用对象、功能函数和属性及其使用方法的介绍;VBA操作Word及Excel程序分别读取基坑剖面计算书相关数据和自定义表格数据的步骤。最终通过将编写出的自动绘图程序运用于实际基坑工程,以验证其在生成施工图方面的适用性和高效性。

关键词: AutoCAD, 二次开发, VBA编程, 基坑工程, 自动绘图

Abstract: This paper introduces the evolution of the user development and its major methods of using the user development platform based on the characterization construction drawings and the feasibility and practical needs of automatic drafting. The details of VBA based plug-in environment are also presented. Procedures that can automatically draft the construction drawings for the deep excavation are provided: instructions of the AutoCAD objects, performance functions and properties; VBA operation with Word and Excel files that can automatically read the design calculations and data from the user defined excel files. The automatically drafting procedures were satisfactorily applied in a deep excavation design project. 

Key words: AutoCAD, user development, VBA programming, deep excavations, automatic drafting

中图分类号: