The following sections show the header and source files for a custom class, AsdkMyClass, which is derived from AcDbObject. This class stores a single integer value, which can be set and queried with its setData() and getData() functions. It also implements dwgInFields(), dwgOutFields(), dxfInFields(), and dxfOutFields() functions for filing. It is written to and read from file, so its source file uses the ACRX_DXF_DEFINE_MEMBERS macro.
- Customization Guide
- DXF Reference
- AutoLISP and DCL
- ObjectARX
- ObjectARX: Developer's Guide
- ObjectARX Introductory Concepts
- Basic Interaction with AutoCAD
- Custom Objects
- Proxy Objects
- Object Enablers
- Deriving a Custom ObjectARX Class
- Deriving from AcDbObject
- Overriding AcDbObject Virtual Functions
- Implementing Member Functions
- Filing Objects to DWG and DXF Files
- Object References
- Ownership References
- Pointer References
- Long Transaction Issues for Custom Objects
- Purge
- Undo and Redo
- subErase, subOpen, subClose, and subCancel
- Example of a Custom Object Class
- Object Version Support
- Deriving from AcDbEntity
- Advanced Topics
- ObjectARX Graphics, Geometry, and Boundary Representation Libraries
- ObjectARX: Reference Guide
- ObjectARX: Release Notes
- ObjectARX: Developer's Guide