Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdBcfLoader::openProject Method
Syntax
C++
static OdBcf::OdBcfDataAccessorPtr openProject(const OdString& projectName, BcfVersion version = kVersionBcfUndefined, OdResult* result = NULL);

Opens a BCF XML file for interaction.

Parameters
Description
projectName
[in] A string that contains the name of the BCF file.
version
[in] A variable that contains the user-defined version of the BCF file.
result
[out] A raw pointer to a variable containing the result of the operation.

A smart pointer to the data accessor for the project if the opening was successfull; otherwise, the method returns null pointer.

The method unpacks BCF data into the directory and determines BCF file version. If the version cannot be determined, the file is opened according to the version specified in the input parameter. In that case, correct operation cannot be guaranteed.

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