API Reference > OdIfc Namespace > OdIfc::Utils Namespace > Functions > OdIfc::Utils::getAllRepresentationContexts Function
OdIfc::Utils::getAllRepresentationContexts Function
Syntax
C++
OdDAIObjectIds IFCCORE_EXPORT getAllRepresentationContexts(const OdIfcFile * pIfcFile);

IfcUtils.h

Parameters 
Description 
const OdIfcFile * pIfcFile 
[in] A raw pointer to an OdIfcFile object that keeps the IFC model. 

An array of OdDAIObjectId instances, which contain identifiers that refer to geometric representation context objects; if nothing was selected, the method returns an empty array.

Retrieves identifiers (represented with the OdDAIObjectIds object) of all IfcGeometricRepresentationContext instances in a model of the specified IFC file.

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