Researching of the AutoCAD Drawing Database Management Technology Based on VBA
- Author
- LiuZuPing
- Advisor
- LiBaiLin
- School
- Southwest Jiaotong University
- Major
- Mechanical Engineering
- Classification
- TP391.72 Machine -aided design (CAD), aided drawing
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 896
- Citations
- 20
Abstract
Collaborative design is the researching focus all over the world nowadays. Many collisions are appeared during the process of collaborative design. Result collision is one of the primary collisions. The chief method of solving the result collision is to checke out the correlative dimension during the design process. One of the methods to realize this purpose is that CAD drawing database is operated conveniently and effectively from collaborative design system, and necessary parameters are extracted from database. This thesis is defined to aim at developing AutoCAD drawing database management technology based on VBA.The main researching purpose of this thesis is to realize that drawing database is operated (reading. modifying, adding data and so on ) directly from back end.The AutoCAD drawing database management technology based on VBA is studied in the thesis. First, it is analyzed that the structure of AutoCAD drawing database. technology of exporting the attributes of drawing object such as dimension to the outer database. connecting and operating technology of drawing database. Then, based on VBA. ADO object model and CAO object model is researched. AutoCAD drawing objects are linked to the outer database and the AutoCAD drawing database is built, according the drawing object handle symbol by using the CAO (Connection Automation Objects) object database. This AutoCAD drawing database provides information to users in all the project lifecycle. The AutoCAD drawing database is handled using ADO (ActiveX Data Objects) data access technology. Finely, an AutoCAD drawing database management application system is developed to aim at implementing managing the drawing parameters of CAD system on collaborative design flat and help to solve the result collisions of collaborative design.
Table of contents
Chapter 1 Introduction 9-12
1.1 Introduction 9-10
1.2 issues raised main contents of 10
1.3 article 10-12
Chapter 2 AutoCAD drawing database 12-24
2.1 graphics and graphical database Overview 12-13
2.2 AutoCAD database 13 -21
2.2.1 using objects and containers 13-17
2.2.2 object recognition 17-18
2.2.3 object classes and hierarchies 18-21
2.2.4 object attributes 21
access 2.3 graphical database 21-23
2.3.1 AutoCAD database access 22
2.3.2 collections , objects, and interfaces 22-23
2.3.3 access via ActiveX Automation entity 23
2.3.4 created via ActiveX Automation entity data types 23
2.4 graphical database 23-24
Chapter 3 AutoCAD database connectivity technology 24-32
3.1 AutoCAD drawing objects connected to an external database Overview 24-25
3.2 database connectivity features configuration 25
3.3 data sources 25-26
3.4 to create a graphical database connection 26-27
3.5 to create labels 27-28
3.6 using query Editor 28-29
3.6.1 SQL level 28-29
3.6.2 SQL data types 29
3.6.3 SQL command type 29
3.7 connectivity options to use to create a selection set operation 29-30
3.8 data 30-31
3.9 view records and objects in a table connected 31-32
Chapter 4 VBA for AutoCAD development technical 32-42
4.1 VBA for AutoCAD features and the main difference with the VB 32-34
4.2 and VBA AutoCAD commands related 34 <br / > 4.3 VBA programming basics and foundation 34-39
4.3.1 some of the concepts developed using AutoCAD VBA involved 34-37
4.3.2 VBA programming Fundamentals 37-38
4.3.3 VBA and ActiveX technology 38-39
4.4 VBA communication 39
4.5 VBA database technology 39 - encryption 41
4.6 VBA application 41-42
Chapter 5 AutoCAD ActiveX development technology main target of 42-55
5.1 AutoCAD and AutoCAD ActiveX object model of 43-47
5.2 access object Hierarchy nbsp operation 47-49
5.3 collection of objects ; 49-51
5.4 properties and methods 51
5.5 object 51-52
5.6 Location type Library 52
5.7 using variations in the methods and properties 52-55 <br / > Chapter 6 CAO ADO object model and object model 55-63
6.1 ADO object model 55-58
6.2 CAO object model 58-63
6.2.1 Dbconnect object 59
6.2.2 link template collection 59-61
6.2.3 collection of links 61-62
6.2 .4 error 62-63
Chapter 7 base sub VBA AutoCAD drawing database management system 63-72
7.1 system design ideas and the main function of 63 - 64
7.2 preparations 64-65
7.3 system interface 65-68
7.4 VBA -based AutoCAD drawing database application code 68 <br / > 7.5 system running 68-71
7.6 analysis 71-72
conclusion 72-74
Thanks 74-75
References 75-78
studying for a master's degree theses published 78
Related dissertations
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Design and Implementation of "Basic Computer Application" Examination System
- Design and Implementation of Based on C/S Structure of the Innovate College Intelligent Examination System
- Design and Implementation of Governmental Automation System Based on Workflow
- Based on the Theory of Television Video Workflow Resource Management System Design and Implementation
- The Design of Product Information Management System for PA Company
- Research and Application of a PDM-based Platform for Distributed Collaborative Design
- Electrical Device Failure Diagnosis Research Based on the Analysis of the SF6Gas Decomposition
- Research on Some Key Issues of Architectural Collaborative Design Process Management
- Research on Collaborative Design of Building Structure Based on BIM Technology
- Research of the Ship Production Collaborative Design Planning Management System
- The Knowledge Service Platform of Ship Collaborative Design Research Based on Ontology
- Study on the Subgrade Diseases in Permafrost of Qinghai-tibet
- Research on collaborative design technology of automatic weapon interface and constraint based
- Collaborative Design Process Modeling Technique Based on Petri Net
- Design and Research of All-In-One Machine for Sizing and Punching of Damper's Drum
- Research on Optimizing the Allocation of Aeronautic Complex Product Collaborative Design Resources
- Modern debris flow surface deposit thermoluminescence signal research
- Methodology Research of Telecommunication Consulting and Design Enterprise Assembly Line Collaborative Production
- The Research on Project Management of Commercial Real Estate Based on BIM