Saturday, September 7, 2019

Setting preferred units in Eagle CAD to metric or imperial

If you want to set Eagle CAD to display units in either metric or imperial, there is a simple command to do this.
SET Interface.PreferredUnit n
where n can be:
0 - the default value. Eagle decides if will display metric or imperial
1 - imperial
2 - metric

To change current units in Eagle CAD, simply paste the command in the command line, replace the n with your preferred value and press enter. To confirm that it worked, open the DRC window.

Changing from metric units to imperial in Eagle CAD
Imperial units in Eagle CAD DRC window

Changing from imperial units to metric in Eagle CAD
Metric units in Eagle CAD DRC window