Share

AcDbDatabase::AcDbDatabase

C++

ACDBCORE2D_PORT AcDbDatabase(
    bool buildDefaultDrawing = true, 
    bool noDocument = false
);

Description

Default constructor.

If buildDefaultDrawing == true, then the new AcDbDatabase object contains the minimum necessary for a complete database. If buildDefaultDrawing == false, then the new AcDbDatabase object is completely empty. If noDocument = true, then the newly created database will not be associated with the current document; otherwise it will.

Parameters

Parameters Description
buildDefaultDrawing Boolean specifying whether or not to build an empty object
noDocument Boolean specifying whether or not to associate this database to the current document. When noDocument = true, then the database is standalone, which means the database does not use the documents undo controller, locking, and other services.

Links

AcDbDatabase Class

Was this information helpful?