API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::setFilename Method
OdDbDatabase::setFilename Method
Syntax
C++
virtual void setFilename(const OdString& fileName);
Parameters 
Description 
const OdString& fileName 
[in] Name of the file to be set as current for this database instance. 

Forcibly sets the name of the current file for this database instance. 

 

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