API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > OdIfcFile::getProjectId Method
OdIfcFile::getProjectId Method
Syntax
C++
OdDAIObjectId getProjectId() const;

The identifier of the root entity of the model.

Retrieves the IFC model's root entity.

Each valid IFC file must have exactly one root entity.

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