Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Session::createRepoFromBuffer Method
Syntax
C++
RepositoryPtr createRepoFromBuffer(const char* bufferedModel, const OdAnsiString& name = "");

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

Parameters
Description
bufferedModel
[in] A raw pointer to the data of the buffered model 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.