API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > initialize Method > OdIfcFile::initialize Method (IfcSchema)
OdIfcFile::initialize Method (IfcSchema)
Syntax
C++
OdResult initialize(IfcSchema schema);
Parameters 
Description 
IfcSchema schema 
[in] A schema identifier.  

eOk if the file was successfully initialized; otherwise, the method returns an appropriate error code.

Initializes the IFC file object with a specified schema.

If the schema parameter equals the kScmUndefined value, the IFC file object will be created without an underlying OdDAI::Model object.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.