API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > initialize Method
initialize Method

This is the overview for the initialize method overload.

Initializes the IFC file object with a specified schema.  
Initializes the IFC file object with a schema specified by its name.  
Initializes OdIfcFile instance with a specified repository if it contains appropriate information in IFC format (single model of supported IFC schema). After the initialization, the model becomes opened in read-only access mode by default and stays in this mode while the repository is attached to the file object.  
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.