What are the ‘Load Controls’ in AutoCAD OEM

by Fenton Webb

The Load Controls section of the AutoCAD OEMMakeWizard define the demand loading required for your module.

image

It relates directly to the ObjectARX AcadApp::LoadReasons enum, e.g.

struct AcadApp {
  enum LoadReasons {
    kOnProxyDetection = 0x01,
    kOnAutoCADStartup = 0x02,
    kOnCommandInvocation = 0x04,
    kOnLoadRequest = 0x08,
    kLoadDisabled = 0x10,
    kTransparentlyLoadable = 0x20,
    kOnIdleLoad = 0x40
  };

The Load Controls are used for all ObjectARX, ObjectDBX, .NET and Mixed Mode DLLs.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading