Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgDatabase::readFile Method (const OdString&, Oda::FileShareMode, bool)
Syntax
C++
void readFile(const OdString& fileName, Oda::FileShareMode shareMode = Oda::kShareDenyWrite, bool partialLoad = false);

Reads the contents of the specified file into this database object. 

 

Parameters
Description
fileName
[in] Name of the file from which the data are to be read.
shareMode
[in] Share mode to use when opening the specified file.
partialLoad
[in] Controls the partial loading of DGN files.
pAuditInfo
[in] Pointer to an OdDgAuditInfo object.
password
[in] Password for file.

The specified OdDgAuditInfo object controls the audit, and receives the audit status. If pAuditInfo is non-zero, a recover will be performed instead of a load.

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