Checks if the specified units value represents metric units.
This function returns true if the units are part of the metric system, including millimeters, centimeters, meters, kilometers, and their decimal multiples and submultiples.
The units value to check
True if the units are metric, false otherwise
const isMetric = isMetricUnits(AcDbUnitsValue.Millimeters); // trueconst isMetric2 = isMetricUnits(AcDbUnitsValue.Inches); // false Copy
const isMetric = isMetricUnits(AcDbUnitsValue.Millimeters); // trueconst isMetric2 = isMetricUnits(AcDbUnitsValue.Inches); // false
Checks if the specified units value represents metric units.
This function returns true if the units are part of the metric system, including millimeters, centimeters, meters, kilometers, and their decimal multiples and submultiples.