| Description | ||||||||
| Retrieves the conversion factor for a unit. Works only with basic quantities: PRO_UNITTYPE_LENGTH, PRO_UNITTYPE_MASS, PRO_UNITTYPE_FORCE, PRO_UNITTYPE_TIME, PRO_UNITTYPE_TEMPERATURE, PRO_UNITTYPE_ANGLE. | ||||||||
| Replacement in Object TOOLKIT: | pfcUnit::ConversionFactor | |||||||
| pfcUnit::ReferenceUnit | ||||||||
| Synopsis | ||||||||
| #include <ProMdlUnits.h> | ||||||||
| ProError | ProUnitConversionGet | ( | ||||||
| ProUnititem* unit | ||||||||
| /* (In) | ||||||||
| The unit. | ||||||||
| */ | ||||||||
| ProUnitConversion* conversion | ||||||||
| /* (Out) | ||||||||
| The conversion factor for the unit. | ||||||||
| */ | ||||||||
| ProUnititem* ref_unit | ||||||||
| /* (Out) | ||||||||
| The reference unit for the unit. | ||||||||
| */ | ||||||||
| ) | ||||||||
| Returns | ||||||||
|
||||||||