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 Learning | p. xi |
A Word From Autodesk, Inc. | p. xi |
The Initial Idea | p. xii |
Topics For The Programmer Series | p. xiii |
Who Reads Programming Books? | p. xiii |
Thirst, Theme, and Variation | p. xiv |
A Word From Bill Kramer | p. xiv |
Preface | |
Who Should Read This Book? | p. xvii |
Conventions Used In The Book | p. xviii |
What's Not Covered And Why | p. xix |
What You Need For This Book | p. xix |
What's On The CD | p. xx |
About the Author | p. xxi |
Acknowledgments | p. xxiii |
Chapter 1 Getting Started | |
Introduction | p. 1 |
Programming Autocad Using Visual Lisp, VBA OR Objectarx 2000, Which One? | p. 1 |
AutoLISP/Visual LISP | p. 2 |
Visual Basic for Applications (VBA) | p. 2 |
ADS | p. 3 |
ObjectARX | p. 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 Application | p. 9 |
Creating the DLL | p. 9 |
Inserting files into the Visual C++ project | p. 10 |
Changing Project Settings | p. 12 |
Running the Hello1 ARX Application | p. 15 |
Elements of the ARX Hello1 Application | p. 18 |
Creating an ARX Application With A Custom Class | p. 20 |
Creating an application with a class derived from AcRxObject | p. 23 |
Running the Hello2 ObjectARX application | p. 27 |
Elements of the ARX Hello2 application | p. 30 |
ObjectARX 2000 Wizard | p. 35 |
Additional Resources | p. 36 |
Chapter 2 Objectarx Environment and Book Overview | |
ObjectARX Libraries | p. 37 |
Acrx Library | p. 38 |
Aced Library | p. 38 |
Acdb Library | p. 39 |
Acgi Library | p. 40 |
Acge Library | p. 40 |
Adsrx Library (Formerly ADS) | p. 40 |
Overview of the Upcoming Chapters | p. 41 |
Chapter 3 Essential ADSRX (ADS) | p. 41 |
Chapter 4 Understanding AutoCAD's Database and Entity Structure | p. 41 |
Chapter 5 ObjectARX's Geometry Classes | p. 42 |
Chapter 6 DCL (Dialog Control Language) Dialogs | p. 42 |
Chapter 7 MFC Dialogs and ObjectARX's UI Extension | p. 42 |
Chapter 8 Custom Classes, Entities, and ObjectDBX | p. 43 |
Chapter 9 Transactions, Reactors, and Notifications | p. 43 |
Read This | p. 44 |
Chapter 3 Essential ADSRS (ADS) | |
History of ADS | p. 47 |
Variables, Types, and Values Defined in ADS | p. 48 |
Real Numbers | p. 48 |
Points | p. 49 |
Transformation Matrices Type | p. 50 |
Useful Values | p. 50 |
Result Buffers and Type Codes | p. 50 |
ADSRX Function Return Types | p. 54 |
Autocad Commands In ADSRX | p. 54 |
Sending Information Back to the User | p. 57 |
Sample Application Ch3_1 | p. 59 |
Elements of Sample Application Ch3_1 | p. 67 |
Getting Information From The User | p. 69 |
Selecting Entities in Autocad | p. 83 |
Elements of Sample Application Ch3_1 Revisited | p. 87 |
Selection Sets | p. 89 |
Selection Set Filtering | p. 93 |
Relational Selection Set Filtering | p. 95 |
Conditional Selection Set Filtering | p. 97 |
Extended Entity Data Selection Set Filtering | p. 98 |
Transformation Matrices and Selection Sets | p. 98 |
Manipulating Selection Sets | p. 101 |
Data Type Conversion Functions | p. 104 |
Sample Application Ch3_2 | p. 107 |
Elements of Sample Application Ch3_2 | p. 114 |
Sample Application Ch3_3 | p. 115 |
Elements of Sample Application Ch3_3 | p. 120 |
Chapter 4 Understanding Autocad's Database and Entity Structure | |
Symbol Tables | p. 124 |
Named Object Dictionary | p. 126 |
Initial Database Objects | p. 126 |
Entity Handles, Object IDS, and Multiple Databases | p. 127 |
Creating Objects | p. 128 |
Creating Objects With ObjectARX | p. 130 |
Opening and Closing Objects | p. 135 |
Adding A Group To A Group Dictionary | p. 135 |
Autocad's Database Structure | p. 137 |
Database Resident Objects | p. 137 |
Common Return Codes | p. 142 |
Symbol Table Functions | p. 145 |
Symbol Table Query and Edit Functions | p. 147 |
Sample Application Ch4_1 | p. 152 |
Elements Of Sample Application Ch4_1 | p. 162 |
Autocad's Entity Classes | p. 165 |
AcDbEntity Query Functions | p. 165 |
AcDbEntity Edit Functions | p. 168 |
AcDbEntity Miscellaneous Functions | p. 172 |
AcDbCurve Classes | p. 172 |
AcDbLine | p. 177 |
AcDbCircle | p. 178 |
Sample Application Ch4_2 | p. 179 |
Elements Of Sample Application Ch4_2 | p. 186 |
Sample Application Ch4_3 | p. 188 |
Elements of Sample Application Ch4_3 | p. 198 |
Objectarx Collection Classes | p. 202 |
Sample Application Ch4_4 | p. 204 |
Autocad's Complex Entities | p. 208 |
Sample Application Ch4_5 (Acdbpolyline) | p. 209 |
Sample Application Ch4_6 Acdbblockreference | p. 215 |
Sample Application Ch4_7 AcDbBlockReference, AcDbAttribute) | p. 219 |
Sample Application Ch4_8 (Acdbblockreference, Acdbattribute) | p. 226 |
Chapter 5 Objectarx's Geometry Classes | |
AcGePoint2d | p. 233 |
Matrix Operations | p. 236 |
Acge 2D Entity Classes | p. 239 |
AcGeEntity2d | p. 241 |
AcGeCurve2d | p. 242 |
AcGeLinearEnt2d | p. 247 |
AcGeCircArc2d | p. 252 |
AcGe 3D Entity Class Hierarchy | p. 255 |
Sample Application Ch5_1 | p. 255 |
A Final Word Beford We Move On | p. 307 |
Chapter 6 Dcl (Dialog Control Language) Dialogs | |
Dialog Box Components | p. 310 |
Predefined Active Tiles | p. 314 |
Attributes of Predefined Tiles | p. 328 |
Layout and Sizing Attributes | p. 330 |
Functional Attributes | p. 331 |
The 'key' Attribute | p. 331 |
Dcl Syntax | p. 331 |
Sample Application Ch6_1 | p. 335 |
Commonly Used Dialog Functions | p. 342 |
Callback Functions | p. 344 |
Sdi and Porting Considerations | p. 346 |
Sample Application Ch6_2 | p. 348 |
Hiding Dialog Boxes | p. 362 |
Sample Application Ch6_3 | p. 363 |
Nesting Dialog Boxes | p. 384 |
Sample Application Ch6_4 | p. 391 |
Chapter 7 Mfc Dialogs and Objectarx's Ul Extensions | |
Project Settings | p. 395 |
Resources | p. 397 |
Modal Dialogs and Sample Application Ch7_1 | p. 399 |
Modal Dialogs and Sample Application Ch7_2 | p. 416 |
Modeless Dialogs and Sample Application Ch7_3 | p. 434 |
Tabbed-Style Dialogs and Sample Application Ch7_4 | p. 448 |
Wizard-Style Dialogs and Sample Application Ch7_5 | p. 462 |
Common Controls and Sample Application Ch7_6 | p. 472 |
Resource-Only Dlls and Sample Application Ch7_7 | p. 499 |
Acknowledgement | p. 505 |
Additional Sample Material | p. 505 |
Chapter 8 Custom Classes, Entities, and Objectdbx | |
Extended Entity Data and Sample Application Ch8 1 | p. 507 |
Extension Dictionary and Sample Application Ch8 2 | p. 522 |
Named Objects Dictionary and Sample Application Ch8_3 | p. 530 |
Custom Class Derived From Acdbobject and Sample Application Ch8_4 | p. 536 |
Objectdbx | p. 556 |
Custom Entities Derived From Acdbentity and Sample Application Ch8_5 | p. 557 |
Additional Sample Material | p. 597 |
Chapter 9 Transactions, Reactors, and Notifications | |
Transactions | p. 600 |
Transactions and Sample Application Ch9_1UI | p. 601 |
Reactors and Notifications | p. 621 |
Transient Reactors/Notifications and Sample Application Ch9_2UI | p. 622 |
Persistent Reactors/Notifications and Sample Application Ch9_3UI | p. 644 |
Additional Sample Material | p. 660 |
A Final Farewell | p. 661 |
Index | p. 663 |