[Minimum Distance between 2 objects] command evaluates the shortest distance of arbitrary 2 objects.
For the prompt
"Specify 1st object."
, select the 1st object tomeasure.
For the prompt
"Specify 2nd object"
select the other object to measure.
When the 2nd object selection is done, a line to connect shortest point and the length will be drawn.