If you wish a line length (polygon or broken line) to be measured, your figure must have an unity length.
Use icon .
Click on the line (polygon or broken line) measure of which has to be created.
A dialog box pops up asking you for a name for the measure.
The vertexes of the line must be named. If they aren't they will be named by the tool.