Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Session::createRepoFromFile Method
Syntax
C++
RepositoryPtr createRepoFromFile(const OdAnsiString & fileName, const OdAnsiString & name = "");

Creates a new repository with a specified name within the current session, and opens a specified file as part of the newly created repository.

Parameters
Description
fileName
[in] An ANSI string that contains the name of the file to open as part of the created repository.
name
[in] An ANSI string that contains the name of the repository to create.

A smart pointer to the newly created repository.

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