Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCADDefinition::setDatabase Method
Syntax
C++
void setDatabase(OdDbBaseDatabase * database);

Sets the source database for the CAD definition object.

Parameters
Description
database
[in] A pointer to a database object.

You can use either the setDatabase() or setDatabaseWrapper() method to specify a database for publishing. The DatabaseWrapperInterface value is reset when the source database is set.

Copyright © 2002-2022. Open Design Alliance All rights reserved.