| |
| |
Foreword | |
| |
| |
A Word From Thomson Learning | |
| |
| |
A Word From Autodesk, Inc. | |
| |
| |
The Initial Idea | |
| |
| |
Topics For The Programmer Series | |
| |
| |
Who Reads Programming Books? | |
| |
| |
Thirst, Theme, and Variation | |
| |
| |
A Word From Bill Kramer | |
| |
| |
Preface | |
| |
| |
Who Should Read This Book? | |
| |
| |
Conventions Used In The Book | |
| |
| |
What's Not Covered And Why | |
| |
| |
What You Need For This Book | |
| |
| |
What's On The CD | |
| |
| |
About the Author | |
| |
| |
Acknowledgments | |
| |
| |
| |
Getting Started | |
| |
| |
Introduction | |
| |
| |
Programming Autocad Using Visual Lisp, VBA OR Objectarx 2000, Which One? | |
| |
| |
AutoLISP/Visual LISP | |
| |
| |
Visual Basic for Applications (VBA) | |
| |
| |
ADS | |
| |
| |
ObjectARX | |
| |
| |
Which Version of Visual C++? | |
| |
| |
Why Should You Learn MFC? | |
| |
| |
Dynamic Link Libraries (DLL) | |
| |
| |
ARX Entry Point--Acrxentrypoint() | |
| |
| |
Creating Your First Objectarx Application | |
| |
| |
Creating the DLL | |
| |
| |
Inserting files into the Visual C++ project | |
| |
| |
Changing Project Settings | |
| |
| |
Running the Hello1 ARX Application | |
| |
| |
Elements of the ARX Hello1 Application | |
| |
| |
Creating an ARX Application With A Custom Class | |
| |
| |
Creating an application with a class derived from AcRxObject | |
| |
| |
Running the Hello2 ObjectARX application | |
| |
| |
Elements of the ARX Hello2 application | |
| |
| |
ObjectARX 2000 Wizard | |
| |
| |
Additional Resources | |
| |
| |
| |
Objectarx Environment and Book Overview | |
| |
| |
ObjectARX Libraries | |
| |
| |
Acrx Library | |
| |
| |
Aced Library | |
| |
| |
Acdb Library | |
| |
| |
Acgi Library | |
| |
| |
Acge Library | |
| |
| |
Adsrx Library (Formerly ADS) | |
| |
| |
Overview of the Upcoming Chapters | |
| |
| |
| |
Essential ADSRX (ADS) | |
| |
| |
| |
Understanding AutoCAD's Database and Entity Structure | |
| |
| |
| |
ObjectARX's Geometry Classes | |
| |
| |
| |
DCL (Dialog Control Language) Dialogs | |
| |
| |
| |
MFC Dialogs and ObjectARX's UI Extension | |
| |
| |
| |
Custom Classes, Entities, and ObjectDBX | |
| |
| |
| |
Transactions, Reactors, and Notifications | |
| |
| |
Read This | |
| |
| |
| |
Essential ADSRS (ADS) | |
| |
| |
History of ADS | |
| |
| |
Variables, Types, and Values Defined in ADS | |
| |
| |
Real Numbers | |
| |
| |
Points | |
| |
| |
Transformation Matrices Type | |
| |
| |
Useful Values | |
| |
| |
Result Buffers and Type Codes | |
| |
| |
ADSRX Function Return Types | |
| |
| |
Autocad Commands In ADSRX | |
| |
| |
Sending Information Back to the User | |
| |
| |
Sample Application Ch3_1 | |
| |
| |
Elements of Sample Application Ch3_1 | |
| |
| |
Getting Information From The User | |
| |
| |
Selecting Entities in Autocad | |
| |
| |
Elements of Sample Application Ch3_1 Revisited | |
| |
| |
Selection Sets | |
| |
| |
Selection Set Filtering | |
| |
| |
Relational Selection Set Filtering | |
| |
| |
Conditional Selection Set Filtering | |
| |
| |
Extended Entity Data Selection Set Filtering | |
| |
| |
Transformation Matrices and Selection Sets | |
| |
| |
Manipulating Selection Sets | |
| |
| |
Data Type Conversion Functions | |
| |
| |
Sample Application Ch3_2 | |
| |
| |
Elements of Sample Application Ch3_2 | |
| |
| |
Sample Application Ch3_3 | |
| |
| |
Elements of Sample Application Ch3_3 | |
| |
| |
| |
Understanding Autocad's Database and Entity Structure | |
| |
| |
Symbol Tables | |
| |
| |
Named Object Dictionary | |
| |
| |
Initial Database Objects | |
| |
| |
Entity Handles, Object IDS, and Multiple Databases | |
| |
| |
Creating Objects | |
| |
| |
Creating Objects With ObjectARX | |
| |
| |
Opening and Closing Objects | |
| |
| |
Adding A Group To A Group Dictionary | |
| |
| |
Autocad's Database Structure | |
| |
| |
Database Resident Objects | |
| |
| |
Common Return Codes | |
| |
| |
Symbol Table Functions | |
| |
| |
Symbol Table Query and Edit Functions | |
| |
| |
Sample Application Ch4_1 | |
| |
| |
Elements Of Sample Application Ch4_1 | |
| |
| |
Autocad's Entity Classes | |
| |
| |
AcDbEntity Query Functions | |
| |
| |
AcDbEntity Edit Functions | |
| |
| |
AcDbEntity Miscellaneous Functions | |
| |
| |
AcDbCurve Classes | |
| |
| |
AcDbLine | |
| |
| |
AcDbCircle | |
| |
| |
Sample Application Ch4_2 | |
| |
| |
Elements Of Sample Application Ch4_2 | |
| |
| |
Sample Application Ch4_3 | |
| |
| |
Elements of Sample Application Ch4_3 | |
| |
| |
Objectarx Collection Classes | |
| |
| |
Sample Application Ch4_4 | |
| |
| |
Autocad's Complex Entities | |
| |
| |
Sample Application Ch4_5 (Acdbpolyline) | |
| |
| |
Sample Application Ch4_6 Acdbblockreference | |
| |
| |
Sample Application Ch4_7 AcDbBlockReference, AcDbAttribute) | |
| |
| |
Sample Application Ch4_8 (Acdbblockreference, Acdbattribute) | |
| |
| |
| |
Objectarx's Geometry Classes | |
| |
| |
AcGePoint2d | |
| |
| |
Matrix Operations | |
| |
| |
Acge 2D Entity Classes | |
| |
| |
AcGeEntity2d | |
| |
| |
AcGeCurve2d | |
| |
| |
AcGeLinearEnt2d | |
| |
| |
AcGeCircArc2d | |
| |
| |
AcGe 3D Entity Class Hierarchy | |
| |
| |
Sample Application Ch5_1 | |
| |
| |
A Final Word Beford We Move On | |
| |
| |
| |
Dcl (Dialog Control Language) Dialogs | |
| |
| |
Dialog Box Components | |
| |
| |
Predefined Active Tiles | |
| |
| |
Attributes of Predefined Tiles | |
| |
| |
Layout and Sizing Attributes | |
| |
| |
Functional Attributes | |
| |
| |
The 'key' Attribute | |
| |
| |
Dcl Syntax | |
| |
| |
Sample Application Ch6_1 | |
| |
| |
Commonly Used Dialog Functions | |
| |
| |
Callback Functions | |
| |
| |
Sdi and Porting Considerations | |
| |
| |
Sample Application Ch6_2 | |
| |
| |
Hiding Dialog Boxes | |
| |
| |
Sample Application Ch6_3 | |
| |
| |
Nesting Dialog Boxes | |
| |
| |
Sample Application Ch6_4 | |
| |
| |
| |
Mfc Dialogs and Objectarx's Ul Extensions | |
| |
| |
Project Settings | |
| |
| |
Resources | |
| |
| |
Modal Dialogs and Sample Application Ch7_1 | |
| |
| |
Modal Dialogs and Sample Application Ch7_2 | |
| |
| |
Modeless Dialogs and Sample Application Ch7_3 | |
| |
| |
Tabbed-Style Dialogs and Sample Application Ch7_4 | |
| |
| |
Wizard-Style Dialogs and Sample Application Ch7_5 | |
| |
| |
Common Controls and Sample Application Ch7_6 | |
| |
| |
Resource-Only Dlls and Sample Application Ch7_7 | |
| |
| |
Acknowledgement | |
| |
| |
Additional Sample Material | |
| |
| |
| |
Custom Classes, Entities, and Objectdbx | |
| |
| |
Extended Entity Data and Sample Application Ch8 1 | |
| |
| |
Extension Dictionary and Sample Application Ch8 2 | |
| |
| |
Named Objects Dictionary and Sample Application Ch8_3 | |
| |
| |
Custom Class Derived From Acdbobject and Sample Application Ch8_4 | |
| |
| |
Objectdbx | |
| |
| |
Custom Entities Derived From Acdbentity and Sample Application Ch8_5 | |
| |
| |
Additional Sample Material | |
| |
| |
| |
Transactions, Reactors, and Notifications | |
| |
| |
Transactions | |
| |
| |
Transactions and Sample Application Ch9_1UI | |
| |
| |
Reactors and Notifications | |
| |
| |
Transient Reactors/Notifications and Sample Application Ch9_2UI | |
| |
| |
Persistent Reactors/Notifications and Sample Application Ch9_3UI | |
| |
| |
Additional Sample Material | |
| |
| |
A Final Farewell | |
| |
| |
Index | |