Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcHostAppServices::createDatabase Method (const OdAnsiString &)
Syntax
C++
virtual OdIfcFilePtr createDatabase(const OdAnsiString & schemaName) const;

Creates a new instance of the OdIfcFile class.

Parameters
Description
schemaName
[in] An initial schema name to be used for the new instance creation.

A smart pointer to the OdIfcFile object that represents the created database instance.

If the parameter string is empty, the created .ifc file doesn't have underlying OdDAI::Model object. This way of initialization is used for the file open operation when the underlying model should be created during the file loading process. The host application services object is associated with the newly created database.

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