why dimension in a drawing tool wont grab second line.

when dimension in a drawing top to bottom or left to right  the tool grabs the first line but wont grab the second line

SolidworksDrawings And Detailing