《2020年(建筑工程管理)CAD在工程实践中的二次开发》由会员分享,可在线阅读,更多相关《2020年(建筑工程管理)CAD在工程实践中的二次开发(142页珍藏版)》请在金锄头文库上搜索。
1、(建筑工程管理) CAD 在工程实践中的二次 开发 摘 要 为了解决困扰工程地质界的隧道地质编录绘图难题,探索实现隧洞设计及施工 地质展示图绘图自动化和计算机化的可能途径,本文以田坝岭隧道施工地质为范例, 说明铁路隧道地质编录自动成图系统概念和实施要点,通过对 AutoCAD 平台的二 次开发最终实现自动成图的目的。 通过本设计过程,使学生掌握计算机辅助设计的基本技能,并具备 AutoCAD 二次开发的初步技能,提高其应用计算机解决实际问题的能力水平,预期达到以下 要求:熟练掌握 AutoCAD 平台 Axtivex 开发技术;初步具备利用关系型数据库管 理工程数据的能力。 本设计可以实现加入
2、窗体模块编程,每确认一个窗体模块即可实现一项模块功 能。使工作量由软件从已编写的数据库文件中提取数据自动生成图形。用铁路隧道 地质编录自动成图系统绘制隧道展示图比手工快几十倍甚至更多。 关键词:地质展示图 数据库 二次开发 Abstract In order to solve the trouble DeZhiJie tunnel engineering geological record drawing problem, explore and realize tunnel in the design and construction of geological display figure
3、 drawing automation and computerized possible approach, based on the tunnel construction geological field dam as an example, explain railway tunnel geological record to be automatic mapping system concept and the key points, realized through to the second development AutoCAD platform eventually real
4、ize the purpose of automatic mapping. Through the design process, make the students master the basic skills of computer aided design, and with AutoCAD secondary development preliminary skills, improve its application computer solution actual problem ability level, expected to reach the following req
5、uirements: master AutoCAD platform development technology Axtivex; Initially have use of relational database management engineering data ability. This design can realize to join form module programming, each confirmed a form module can be realized a module function. Make work from already written by
6、 software database file extract data automatically generate graphics. Use railway tunnel geological record to be automatic mapping system draw tunnel show than a few times fast figure by even more. Key word :Geological display figure database Second development 目 录 第 1 章 绪 论.1 1.1 开发的意义、背景.1 1.2 本设计
7、解决的问题.1 1.3 采用的方法和步骤.2 1.3.1 方法.2 1.3.2 步骤.2 1.4 预期成果.3 第 2 章 数据库结构设计.4 2.1 数据库中的表.4 2.2 数据库中表的关联图.7 第 3 章 程序结构.9 3.1 模块.9 3.1.1 Caidan 模块.9 3.1.2 Caidanxianshi 模块.9 3.1.3 CommASS 模块.10 3.1.4 DZSub 模块.10 3.2 窗体.10 3.2.1 工程管理窗体.10 3.2.2 工程数据管理窗体.11 3.2.3 平面数据管理.12 3.2.4 岩性表的管理.13 3.2.5 编录出图.13 3.2.6 打印.14 第 4 章 重点算法.15 4.1 平面线路方位角的计算.15 4.1.1 任意里程的方位角计算.15 4.1.2 线路走向计算.16 第 5 章 主要应用技术.19 5.1 ADO 技术简介.19 5.1.1 Connection 连接对象.19 5.1.2 Recordset 对象.20 5.2 AUTOCAD VBA 简介.23 5.2.1 什么是 AutoCAD VBA.23 5.2.2 用 VBA 管理器组织工程.