Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmHostAppServices::readFile Method (const OdString&, const Oda::FileShareMode, const bool)
Syntax
C++
virtual OdBmDatabasePtr readFile(const OdString& fileName, const Oda::FileShareMode shareMode = Oda::kShareDenyWrite, const bool bPartial = true) = 0;

Loads the contents of the specified ODA BimRv file file into the database with which this HostAppServices object is associated. 

 

Parameters
Description
fileName
[in] Input name of the file from which the data are to be read.
shareMode
[in] Input share mode to use when opening the specified file.
partialLoad
[in] Input partial loading of ODA BimRv files flag. Partial loading is working only for the latest file format.

Returns a SmartPointer to the database containing the contents of the file.

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