AutoCAD will attempt to load the appropriate ObjectARX application if the user invokes a command that is not registered with AutoCAD.
To support demand loading on command invocation, the ObjectARX application's installation program must create the appropriate keys and values in the system registry for the application's commands. The application's Commands section of the system registry should contain command information like this:
\\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R24.1\ ACAD-5101:409\ Applications\polysamp\ DESCRIPTION:REG_SZ:PolyCad LOADCTRLS:REG_DWORD:0xd LOADER:REG_SZ:C:\Program Files\polysampinc\polyui.arx Commands\ ASDKPOLY:REG_SZ:ASDKPOLY ASDKDRAGPOLY:REG_SZ:ASDKDRAGPOLY ASDKPOLYEDIT:REG_SZ:ASDKPOLYEDIT Groups\ ASDK:REG_SZ:ASDK ...
The ObjectARX application must also include the appropriate calls to the acedRegCmds macro for demand loading on command to work.