The target measurement system. Possible values:
MEASUREMENT_SYSTEM.IMPERIAL (converts to Imperial units).MEASUREMENT_SYSTEM.METRIC (converts to Metric units).The original unit of the value. Supported units include:
The value associated with the given unit to be converted.
unit: The converted unit in the target measurement system.value: The converted value in the target measurement system.formatToSystemMeasurementUnit(MEASUREMENT_SYSTEM.IMPERIAL, 'MM', 1000) returns { unit: 'in', value: 39.3701 } (1000 mm to inches).formatToSystemMeasurementUnit(MEASUREMENT_SYSTEM.IMPERIAL, 'M2', 50) returns { unit: 'ft', value: 538.196 } (50 square meters to square feet).formatToSystemMeasurementUnit(MEASUREMENT_SYSTEM.METRIC, 'MM', 12000) returns { unit: 'm', value: 12 } (12,000 mm to meters).
Converts a value and its unit to the specified measurement system (Imperial or Metric).