API Reference > Classes > OdIfcFile Class
OdIfcFile Class
OdIfcFile
Syntax
C++
class OdIfcFile : public OdRxObject;

IfcFile.h

A class that implements working with an IFC file header and data sections (header and model).

Destroys the IFC file object. 
Creates a new IFC file object with default parameters. 
Composes entities in the IFC model using the assigned resolver object. 
Closes the model attached to the file object and detaches the repository object associated with the model. After detaching, it is possible to work with the repository and the model at a low level.  
get 
This is the overview for the get method overload. 
Retrieves the current active view of the IFC file object.  
Retrieves the application services object that is associated with the IFC file object.  
Retrieves the current model context of the file object.  
Determines whether an instance of the IfcGeometricRepresentationContext class is selected to build the geometry.  
Retrieves entity database id by IFC GUID.  
Retrieves the current name (file name) of a physical file associated with the repository object. returns A string that contains the file name. 
Retrieves the current geometrical extents of the model.  
Retrieves the file object's header section.  
Retrieves the model object associated with the file object (by default the model is opened in read-only mode).  
Retrieves the IFC model's root entity.  
Retrieves the current model's unit converter.  
This is the overview for the initialize method overload. 
This is the overview for the readFile method overload. 
Sets a new active view for the IFC file's content.  
Sets a new application services object with the IFC file object.  
Sets a new model context for the IFC file object.  
Sets geometrical context selection to build a geometrical representation for selected geometrical contexts. Only selected contexts will be composed and drawn.  
Assigns a name (file name) to the OdIfcFile container. 
Unresolve entities in the IFC model.  
This is the overview for the writeFile method overload. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.