ObjectARX Class Groups

The following groups of classes and functions form the basis of the ObjectARX environment:

AcRx

Classes for binding an application and for runtime class registration and identification.

AcEd

Classes for registering native AutoCAD commands and for AutoCAD event notification.

AcDb

AutoCAD database classes.

AcGi

Graphics classes for rendering AutoCAD entities.

AcGe

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.

Required ObjectARX libraries

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.