API Reference > OdIfc Namespace > Classes > OdIfcProductRepresentation Class > OdIfcProductRepresentation Methods > OdIfcProductRepresentation::getRepresentationById Method
OdIfcProductRepresentation::getRepresentationById Method
Syntax
C++
OdIfcShapeRepresentationPtr getRepresentationById(const OdString & representationIdentifier);
Parameters 
Description 
const OdString & representationIdentifier 
[in] A string that contains the required representation's identifier.  

A smart pointer to an OdIfcShapeRepresentation object.

Retrieves a concrete product's representation by its identifier.

If the representation object with the specified identifier is not found the NULL-pointer is returned.

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