The purpose of the "Lattice" tool is to analyze periodic and crystalline structures. After adjusting a grid to your periodic features, the periodic distance as well as the angle are displayed in the output section.
Proceed as followed:
Note: As long as you did not click "Apply", you might still modify each grid setting, even draw a new origin grid line.