API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADDefinition Class > OdCADDefinition Methods > OdCADDefinition::setDatabase Method
OdCADDefinition::setDatabase Method
Syntax
C++
void setDatabase(OdDbBaseDatabase * database);
Parameters 
Description 
OdDbBaseDatabase * database 
[in] A pointer to a database object. 

Sets the source database for the CAD definition object.

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