Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcModelFiller::createMeasureWithUnit Method
Syntax
C++
OdIfc::OdIfcInstancePtr createMeasureWithUnit(double measureValue, const OdDAIObjectId& unit, const OdAnsiString& typeName);

Creates an instance of IfcMeasureWithUnit within a model based on conversion value.

Parameters
Description
measureValue
[in] conversion value.
dimensions
[in] OdDAIObjectId dn handle existing IfcSiUnit.
unitType
[in] OdAnsiString that determines IFC unit type name (IfcVolumeMeasure).

A pointer to the created and appended to the model entity.

Copyright © 2002-2022. Open Design Alliance All rights reserved.