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] Type of convertible unit.  
const OdDAIObjectId& unitId 
[in] Id of corresponding IfcConversionBasedUnit. 

Appends new convertible unit.

unitType must belong to IfcUnitEnum of current schema.

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