API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::writeFile Method (OdString&, OdBmDatabase*, bool)
OdBmLoaderHostAppServices::writeFile Method (OdString&, OdBmDatabase*, bool)
Syntax
C++
virtual void writeFile(const OdString& fileName, OdBmDatabase* pDb, bool partialSaving = false);
Parameters 
Description 
filename 
[in] Name of the file to which the data that is to be written.  
pStreamBuf 
[in] Pointer to the OdBmDatabase object data is to be written.  
partialLoad 
[in] Input partial saving of ODA BimRv files flag. If partial saving is true, modified elements will be written to a new stream in the file. If partial saving is false, streams for elements will be merged to one. It will contain the latest state of the elements. 

Writes the contents of this database to the specified output file. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.