Share
 
 

Registering Object Enablers for Demand Loading

Object Enablers use an abbreviated version of the ObjectARX demand loading registry format. The ObjectARX format is fully described in the "Demand Loading" section of "ObjectARX Application Basics". The registration format for Object Enablers differs from that of ObjectARX applications in two ways:

  • There are no Commands or Groups subkeys.
  • The entries are can be created under the ObjectDBX or the host application's section of the registry (see "Place Registered Object Enablers in the Appropriate Directory" in the Interoperability Guide).
To find the compatible registry, go to the Registry Editor and locate these subkeys:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R25.0
  • HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R25.0

For example, if your application is built for the AutoCAD 2025 release, you would look for products that have registry entries under R25.0. For binary-compatible release of AutoCAD and the ObjectARX and RealDWG SDKs, the minor version number is incremented with each subsequent release while for API incompatible releases, the API major version number is incremented and the minor version number is set to zero. For example, if the APIs in another AutoCAD release after AutoCAD 2025 were binary-compatible with AutoCAD 2025, then a host application built with the RealDWG SDK from that release might have a registry root path that would contain "R23.1" rather than "R24".

Note: It is preferable to use the installer for application registration. Install-time registration ensures proper application registration for non-power users. For sample code, see \samples\entity\polysamp\setup in the ObjectARX SDK.

Was this information helpful?