API Reference > System Variables for .dwg files > System Variables D > DEMANDLOAD
DEMANDLOAD
Syntax
C++
OdInt16 DEMANDLOAD;

SysVarDefs.h

Type 
OdInt16 
Initial value 
Read-Only 
No 
Saved In 
Registry 
Versions 
2014+ 

 

DEMANDLOAD controls demand-loading of an application. The following bit codes are available to turn on demand-loading: 

 

Bit Value 
Description 
If set, demand-loads the source application when you open a drawing with custom objects. 
If set, demand-loads the source application when you call one of the application's commands. (Not supported by the Drawings but can be implemented in client applications). 

 

Access Methods 
OdDbDatabase::getSysVar() 
OdDbDatabase::setSysVar() 
  
OdDbHostAppServices::getDEMANDLOAD() 
OdDbHostAppServices::setDEMANDLOAD() 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.