Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdGiContextForDbDatabase::setDatabase Method
Syntax
C++
void setDatabase(OdDbDatabase* pDb, bool bTrackDbDestroy = true);

Sets the database to be vectorized. 

 

Parameters
Description
pDb
[in] Pointer to the database.
bTrackDbDestroy
[in] if to the database is not NULL then this parameter specifies if implementation should track database lifetime (by adding reactor to the database and processing OdDbDatabaseReactor::goodbye() event) and to clear pointer to the database if it will be destroyed. If you sure that lifetime of this object is shorter then lifetime of the database you may set this parameter to false to turn off unnecessary database lifetime tracking.
Copyright © 2002-2022. Open Design Alliance All rights reserved.