API Reference > OdDg Classes > OdDgModel Class > OdDgModel Structures > OdDgModel::UnitDescription Structure
OdDgModel::UnitDescription Structure
Syntax
C++
struct UnitDescription { UnitBase m_base; UnitSystem m_system; double m_numerator; double m_denominator; OdString m_name; };

DgModel.h

Members 
Description 
double m_numerator; 
scale factor relative to the storage unit measure 
OdString m_name; 
name 

Description for the master/sub units

Copyright © 2002–2020. Open Design Alliance. All rights reserved.