The following groups of classes and functions form the basis of the ObjectARX environment:
Classes for binding an application and for runtime class registration and identification.
Classes for registering native AutoCAD commands and for AutoCAD event notification.
AutoCAD database classes.
Graphics classes for rendering AutoCAD entities.
Utility classes for common linear algebra and geometric objects.
The following table lists the libraries required to link ObjectARX applications. All ObjectARX applications must link with acad.lib and rxapi.lib. Other libraries may also be required, depending on the prefix of the ObjectARX classes and functions that you are using.
Prefix |
Required Libraries |
---|---|
AcRx |
rxapi.lib, acdb24.lib |
AcEd |
acad.lib, rxapi.lib, acdb24.lib |
AcDb |
rxapi.lib, acdb24.lib |
AcGi |
acgiapi.lib, rxapi.lib, acdb24.lib |
AcGe |
rxapi.lib, acge24.lib, acdb24.lib |
The following sections take a closer look at these major groups of ObjectARX classes. In addition to these groups, numerous extensions exist that define their own prefixes. These extensions are discussed in later chapters, or in the ObjectARX Reference.
For the ObjectARX class hierarchy diagram, see classmap.dwg in the ObjectARX classmap subdirectory. For more information about specific classes and member functions, see the ObjectARX Reference.