没有合适的资源?快使用搜索试试~ 我知道了~
首页Autodesk objectARX 2014 Developer's Guide
Autodesk objectARX 2014 Developer's Guide
5星 · 超过95%的资源 需积分: 10 46 下载量 78 浏览量
更新于2023-03-16
评论
收藏 4.24MB PDF 举报
Autodesk ObjectARX for AutoCAD 2014 Developer’s Guide 本人自己编辑创建的PDF版本开发者指南,方便打印翻阅。
资源详情
资源评论
资源推荐
Autodesk ObjectARX for AutoCAD 2014
Developer’s
Guide
March 19, 2015 QQ:465340553
Autodesk
®
1
Table of Contents
1. ObjectARX Introductory Concepts ................................................................ 1
1.1 Overview of ObjectARX ....................................................................... 2
1.1.1 The ObjectARX Programming Environment .................................... 2
1.1.2 The ObjectARX Documentation Set ............................................... 4
1.1.3 ObjectARX Class Groups.............................................................. 5
1.1.4 Getting Started .......................................................................... 7
1.2 Database Primer ................................................................................ 13
1.2.1 AutoCAD Database Overview ...................................................... 13
1.2.2 Essential Database Objects ......................................................... 14
1.2.3 Creating Objects in AutoCAD ...................................................... 15
1.2.4 Creating Objects in ObjectARX .................................................... 16
1.3 ObjectARX Application Basics .............................................................. 20
1.3.1 Creating an ObjectARX Application .............................................. 20
1.3.2 Example Application .................................................................. 26
1.3.3 Registering New Commands ....................................................... 27
1.3.4 Loading an ObjectARX Application ............................................... 30
1.3.5 Unloading an ObjectARX Application ............................................ 31
1.3.6 Application Automatic Loading .................................................... 32
1.3.7 Demand Loading ....................................................................... 32
1.3.8 ARX Command .......................................................................... 41
1.3.9 Running ObjectARX Applications from AutoLISP ............................ 43
1.3.10 Error Handling......................................................................... 43
1.3.11 Polymorphic Type Conversions .................................................. 46
1.4 Database Operations .......................................................................... 47
1.4.1 Initial Database ........................................................................ 47
1.4.2 Creating and Populating a Database ............................................ 48
1.4.3 Saving a Database .................................................................... 48
1.4.4 The wblock Operation ................................................................ 49
1.4.5 Inserting a Database ................................................................. 51
1.4.6 Setting Current Database Values ................................................. 52
1.4.7 Example of Database Operations ................................................. 53
1.4.8 Long Transactions ..................................................................... 55
1.4.9 External References ................................................................... 59
1.4.10 Indexes and Filters .................................................................. 61
1.4.11 Drawing Summary Information ................................................. 63
1.4.12 Last Saved by Autodesk Software .............................................. 64
1.5 Database Objects .............................................................................. 64
1.5.1 Opening and Closing Database Objects ........................................ 64
1.5.2 Deleting Objects ....................................................................... 67
1.5.3 Database Ownership of Objects ................................................... 67
2
1.5.4 Adding Object-Specific Data ....................................................... 67
1.5.5 Erasing Objects ......................................................................... 75
1.5.6 Object Filing ............................................................................. 76
1.5.7 Embedded and Encapsulating Objects .......................................... 76
1.6 Entities............................................................................................. 82
1.6.1 Entities Defined......................................................................... 82
1.6.2 Entity Ownership ....................................................................... 82
1.6.3 Common Entity Properties .......................................................... 82
1.6.4 Common Entity Functions ........................................................... 85
1.6.5 Creating Instances of AutoCAD Entities ...................................... 107
1.6.6 Complex Entities ..................................................................... 115
1.6.7 Coordinate System Access ........................................................ 117
1.6.8 Curve Functions ...................................................................... 118
1.6.9 Associating Hyperlinks with Entities ........................................... 120
1.7 Container Objects ............................................................................ 122
1.7.1 Comparison of Symbol Tables and Dictionaries ............................ 122
1.7.2 Symbol Tables......................................................................... 124
1.7.3 Dictionaries ............................................................................ 130
1.7.4 Layouts .................................................................................. 135
1.7.5 Xrecords ................................................................................ 136
2. Basic Interaction with AutoCAD................................................................. 141
2.1 MFC Support in ObjectARX ................................................................ 142
2.1 Using MFC with ObjectARX Applications ........................................ 142
2.2 ObjectARX Applications with Dynamically Linked MFC ..................... 143
2.3 Built-In MFC User Interface Support ............................................. 145
2.4 Using AdUi and AcUi ................................................................... 157
2.2 Selection Set, Entity, and Symbol Table Functions ................................ 168
2.2.1 Selection Set and Entity Names ................................................ 168
2.2.2 Handling Selection Sets ........................................................... 168
2.2.3 Entity Name and Data Functions ............................................... 179
2.2.4 Symbol Table Access ................................................................ 202
2.3 Plot API .......................................................................................... 203
2.3.1 Overview of the Plot API .......................................................... 204
2.3.2 Using the Plot API ................................................................... 205
2.4 Global Functions for Interacting with AutoCAD..................................... 211
2.4.1 AutoCAD Queries and Commands .............................................. 211
2.4.2 Getting User Input .................................................................. 221
2.4.3 Conversions ............................................................................ 228
2.4.4 Character Type Handling .......................................................... 230
2.4.5 Coordinate System Transformations ........................................... 231
2.4.6 Display Control ....................................................................... 233
2.4.7 Tablet Calibration .................................................................... 235
2.4.8 Wild-Card Matching ................................................................. 237
2.5 ObjectARX Global Utility Functions ..................................................... 238
2.5.1 Common Characteristics of ObjectARX Library Functions .............. 238
2.5.2 Variables, Types, and Values Defined in ObjectARX ...................... 247
3
2.5.3 Lists and Other Dynamically Allocated Data ................................ 258
2.5.4 Extended Data Exclusive Data Types .......................................... 264
2.5.5 Text String Globalization Issues ................................................ 265
2.6 AutoCAD Command Prompt Standard................................................. 265
2.6.1 Command Line Interface .......................................................... 266
3. Custom Objects ...................................................................................... 273
3.1 Proxy Objects .................................................................................. 274
3.1 Proxy Objects Defined ................................................................ 274
3.2 Proxy Object Life Cycle ............................................................... 274
3.3 User Encounters with Proxy Objects ............................................. 275
3.4 Displaying Proxy Entities ............................................................. 275
3.5 Editing Proxy Entities .................................................................. 276
3.6 Unloading an Application ............................................................. 276
3.2 Object Enablers ............................................................................... 276
3.2.2 Developing an Object Enabler ................................................... 278
3.3 Deriving a Custom ObjectARX Class ................................................... 281
3.3.1 Custom Class Derivation .......................................................... 281
3.3.2 Runtime Class Identification ..................................................... 282
3.3.3 Class Declaration Macro ........................................................... 283
3.3.4 Class Implementation Macros ................................................... 283
3.3.5 Class Initialization Function ...................................................... 285
3.4 Deriving from AcDbObject ................................................................ 285
3.4.1 Overriding AcDbObject Virtual Functions .................................... 285
3.4.2 Implementing Member Functions............................................... 291
3.4.3 Filing Objects to DWG and DXF Files .......................................... 292
3.4.4 Object References ................................................................... 303
3.4.5 Ownership References ............................................................. 304
3.4.6 Pointer References .................................................................. 313
3.4.7 Long Transaction Issues for Custom Objects ............................... 314
3.4.8 Purge..................................................................................... 316
3.4.9 Undo and Redo ....................................................................... 316
3.4.10 subErase, subOpen, subClose, and subCancel ........................... 319
3.4.11 Example of a Custom Object Class ........................................... 329
3.4.12 Object Version Support .......................................................... 334
3.5 Deriving from AcDbEntity ................................................................. 338
3.5.1 Deriving Custom Entities .......................................................... 339
3.5.2 Overriding Common Entity Functions ......................................... 342
3.5.3 Extending Entity Functionality ................................................... 360
3.5.4 Using AcEdJig ......................................................................... 360
4. Advanced Topics ..................................................................................... 373
4.1 Table Linking ................................................................................... 374
4.1 Data Links ................................................................................. 374
4.2 Table Content ............................................................................ 377
4.2 Notification ..................................................................................... 379
4.2.1 Notification Overview ............................................................... 379
4.2.2 Using Reactors ........................................................................ 380
剩余802页未读,继续阅读
david96007
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2