API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::initialize Method
OdDbDatabase::initialize Method
Syntax
C++
void initialize(OdDb::MeasurementValue measurement = OdDb::kEnglish);
Parameters 
Description 
OdDb::MeasurementValue measurement = OdDb::kEnglish 
[in] Units of measurement. 

Adds the default set of objects and settings to this database object.

This includes the ModelSpace and PaperSpace blocks, default table entries, system variable settings, etc. 

Measurement must be one the following: 

 

Name 
Value 
OdDb::kEnglish 
OdDb::kMetric 

 

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