Here's a solution to your problem. I believe the post over there is self-explanatory.
Once you've written that command, you can start dragging lines and instead of the usual value you put in, you just write (mm x) where x is your length. You could define your analogous (defun in(x) (* x 25.4)) to get millimeters.
Hopefully it helps.
Of course. I've taken some screenshots to make the job easier. I'm using 2015, but they're identical when it comes to the solution of this problem.
1. Locate the command bar and write the function (defun MM (x) (/ x 25.4))
2. When drawing a line, when you get to this point - that is to specify the second coordinate -
3. Write (mm x) where x - is your length in millimeters. Also, make sure you write the parentheses as well:
That will give you a line with the length in inches:
Hope this helps dude, if you need any help let me know.