API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > OdIfcFile::getModel Method
OdIfcFile::getModel Method
Syntax
C++
virtual OdIfcModelPtr getModel(SdaiAccessMode mode = sdaiRO) const;

A smart pointer to the instance of the OdIfcModel class that represents the current model of the file object.

Retrieves the model object associated with the file object (by default the model is opened in read-only mode).

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