1. Pick base point
  2. Pick second point for reference distance and direction.
  3. Set new dimension in floater dialog.

Hold SHIFT while tracking second point for orthogonal mode, then press CTRL for axis-lock.