Cover image for Programming AutoCAD 2000 using ObjectARX
Title:
Programming AutoCAD 2000 using ObjectARX
Personal Author:
Publication Information:
Albany, N.Y. : Thompson Learning, 2000
Physical Description:
1v. + 1 compact dick (CP 1088)
ISBN:
9780766806436

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000004221804 QA76.64 M386 2000 Open Access Book Book
Searching...
Searching...
30000004849513 QA76.64 M386 2000 Open Access Book Book
Searching...

On Order

Summary

Summary

This book and accompanying CD-ROM instructs users on how to customize AutoCAD software with the ARX programming/development language in an integrated environment. With ObjectARX as a foundation to AutoCAD, programmers, developers, and advanced students will definitely want to add this to their programming resource library!Keywords: AutoCAD ProgrammingKeywords: OjectARX


Author Notes

Charles McAuley, a former Mechanical Engineer, is a member of Autodesk's Developer Consulting Group based in Dublin, Ireland.


Table of Contents

Foreword
A Word From Thomson Learningp. xi
A Word From Autodesk, Inc.p. xi
The Initial Ideap. xii
Topics For The Programmer Seriesp. xiii
Who Reads Programming Books?p. xiii
Thirst, Theme, and Variationp. xiv
A Word From Bill Kramerp. xiv
Preface
Who Should Read This Book?p. xvii
Conventions Used In The Bookp. xviii
What's Not Covered And Whyp. xix
What You Need For This Bookp. xix
What's On The CDp. xx
About the Authorp. xxi
Acknowledgmentsp. xxiii
Chapter 1 Getting Started
Introductionp. 1
Programming Autocad Using Visual Lisp, VBA OR Objectarx 2000, Which One?p. 1
AutoLISP/Visual LISPp. 2
Visual Basic for Applications (VBA)p. 2
ADSp. 3
ObjectARXp. 3
Which Version of Visual C++?p. 3
Why Should You Learn MFC?p. 3
Dynamic Link Libraries (DLL)p. 4
ARX Entry Point--Acrxentrypoint()p. 6
Creating Your First Objectarx Applicationp. 9
Creating the DLLp. 9
Inserting files into the Visual C++ projectp. 10
Changing Project Settingsp. 12
Running the Hello1 ARX Applicationp. 15
Elements of the ARX Hello1 Applicationp. 18
Creating an ARX Application With A Custom Classp. 20
Creating an application with a class derived from AcRxObjectp. 23
Running the Hello2 ObjectARX applicationp. 27
Elements of the ARX Hello2 applicationp. 30
ObjectARX 2000 Wizardp. 35
Additional Resourcesp. 36
Chapter 2 Objectarx Environment and Book Overview
ObjectARX Librariesp. 37
Acrx Libraryp. 38
Aced Libraryp. 38
Acdb Libraryp. 39
Acgi Libraryp. 40
Acge Libraryp. 40
Adsrx Library (Formerly ADS)p. 40
Overview of the Upcoming Chaptersp. 41
Chapter 3 Essential ADSRX (ADS)p. 41
Chapter 4 Understanding AutoCAD's Database and Entity Structurep. 41
Chapter 5 ObjectARX's Geometry Classesp. 42
Chapter 6 DCL (Dialog Control Language) Dialogsp. 42
Chapter 7 MFC Dialogs and ObjectARX's UI Extensionp. 42
Chapter 8 Custom Classes, Entities, and ObjectDBXp. 43
Chapter 9 Transactions, Reactors, and Notificationsp. 43
Read Thisp. 44
Chapter 3 Essential ADSRS (ADS)
History of ADSp. 47
Variables, Types, and Values Defined in ADSp. 48
Real Numbersp. 48
Pointsp. 49
Transformation Matrices Typep. 50
Useful Valuesp. 50
Result Buffers and Type Codesp. 50
ADSRX Function Return Typesp. 54
Autocad Commands In ADSRXp. 54
Sending Information Back to the Userp. 57
Sample Application Ch3_1p. 59
Elements of Sample Application Ch3_1p. 67
Getting Information From The Userp. 69
Selecting Entities in Autocadp. 83
Elements of Sample Application Ch3_1 Revisitedp. 87
Selection Setsp. 89
Selection Set Filteringp. 93
Relational Selection Set Filteringp. 95
Conditional Selection Set Filteringp. 97
Extended Entity Data Selection Set Filteringp. 98
Transformation Matrices and Selection Setsp. 98
Manipulating Selection Setsp. 101
Data Type Conversion Functionsp. 104
Sample Application Ch3_2p. 107
Elements of Sample Application Ch3_2p. 114
Sample Application Ch3_3p. 115
Elements of Sample Application Ch3_3p. 120
Chapter 4 Understanding Autocad's Database and Entity Structure
Symbol Tablesp. 124
Named Object Dictionaryp. 126
Initial Database Objectsp. 126
Entity Handles, Object IDS, and Multiple Databasesp. 127
Creating Objectsp. 128
Creating Objects With ObjectARXp. 130
Opening and Closing Objectsp. 135
Adding A Group To A Group Dictionaryp. 135
Autocad's Database Structurep. 137
Database Resident Objectsp. 137
Common Return Codesp. 142
Symbol Table Functionsp. 145
Symbol Table Query and Edit Functionsp. 147
Sample Application Ch4_1p. 152
Elements Of Sample Application Ch4_1p. 162
Autocad's Entity Classesp. 165
AcDbEntity Query Functionsp. 165
AcDbEntity Edit Functionsp. 168
AcDbEntity Miscellaneous Functionsp. 172
AcDbCurve Classesp. 172
AcDbLinep. 177
AcDbCirclep. 178
Sample Application Ch4_2p. 179
Elements Of Sample Application Ch4_2p. 186
Sample Application Ch4_3p. 188
Elements of Sample Application Ch4_3p. 198
Objectarx Collection Classesp. 202
Sample Application Ch4_4p. 204
Autocad's Complex Entitiesp. 208
Sample Application Ch4_5 (Acdbpolyline)p. 209
Sample Application Ch4_6 Acdbblockreferencep. 215
Sample Application Ch4_7 AcDbBlockReference, AcDbAttribute)p. 219
Sample Application Ch4_8 (Acdbblockreference, Acdbattribute)p. 226
Chapter 5 Objectarx's Geometry Classes
AcGePoint2dp. 233
Matrix Operationsp. 236
Acge 2D Entity Classesp. 239
AcGeEntity2dp. 241
AcGeCurve2dp. 242
AcGeLinearEnt2dp. 247
AcGeCircArc2dp. 252
AcGe 3D Entity Class Hierarchyp. 255
Sample Application Ch5_1p. 255
A Final Word Beford We Move Onp. 307
Chapter 6 Dcl (Dialog Control Language) Dialogs
Dialog Box Componentsp. 310
Predefined Active Tilesp. 314
Attributes of Predefined Tilesp. 328
Layout and Sizing Attributesp. 330
Functional Attributesp. 331
The 'key' Attributep. 331
Dcl Syntaxp. 331
Sample Application Ch6_1p. 335
Commonly Used Dialog Functionsp. 342
Callback Functionsp. 344
Sdi and Porting Considerationsp. 346
Sample Application Ch6_2p. 348
Hiding Dialog Boxesp. 362
Sample Application Ch6_3p. 363
Nesting Dialog Boxesp. 384
Sample Application Ch6_4p. 391
Chapter 7 Mfc Dialogs and Objectarx's Ul Extensions
Project Settingsp. 395
Resourcesp. 397
Modal Dialogs and Sample Application Ch7_1p. 399
Modal Dialogs and Sample Application Ch7_2p. 416
Modeless Dialogs and Sample Application Ch7_3p. 434
Tabbed-Style Dialogs and Sample Application Ch7_4p. 448
Wizard-Style Dialogs and Sample Application Ch7_5p. 462
Common Controls and Sample Application Ch7_6p. 472
Resource-Only Dlls and Sample Application Ch7_7p. 499
Acknowledgementp. 505
Additional Sample Materialp. 505
Chapter 8 Custom Classes, Entities, and Objectdbx
Extended Entity Data and Sample Application Ch8 1p. 507
Extension Dictionary and Sample Application Ch8 2p. 522
Named Objects Dictionary and Sample Application Ch8_3p. 530
Custom Class Derived From Acdbobject and Sample Application Ch8_4p. 536
Objectdbxp. 556
Custom Entities Derived From Acdbentity and Sample Application Ch8_5p. 557
Additional Sample Materialp. 597
Chapter 9 Transactions, Reactors, and Notifications
Transactionsp. 600
Transactions and Sample Application Ch9_1UIp. 601
Reactors and Notificationsp. 621
Transient Reactors/Notifications and Sample Application Ch9_2UIp. 622
Persistent Reactors/Notifications and Sample Application Ch9_3UIp. 644
Additional Sample Materialp. 660
A Final Farewellp. 661
Indexp. 663