API Reference > Classes > OdIfcHostAppServices Class > OdIfcHostAppServices Methods > readFile Method > OdIfcHostAppServices::readFile Method (OdString &)
OdIfcHostAppServices::readFile Method (OdString &)
Syntax
C++
virtual OdIfcFilePtr readFile(const OdString & file);
Parameters 
Description 
const OdString & file 
[in] A full path to the file to read data from.  

a smart pointer to the created IFC file object.

Reads an IFC file content from a specified file and creates an instance of the OdIfcFile class.

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