API Reference > Classes > OdIfcUnitConverter Class > OdIfcUnitConverter Methods > appendUnit Method > OdIfcUnitConverter::appendUnit Method (OdAnsiString&, OdDAIObjectId&)
OdIfcUnitConverter::appendUnit Method (OdAnsiString&, OdDAIObjectId&)
Syntax
C++
void appendUnit(const OdAnsiString& unitType, const OdDAIObjectId& unitId);
Parameters 
Description 
const OdAnsiString& unitType 
[in] A string that contains the type of the convertible unit.  
const OdDAIObjectId& unitId 
[in] An identifier of the corresponding IfcConversionBasedUnit object. 

Appends a new convertible unit.

The unit type value must belong to the IfcUnitEnum of the current schema.

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