Answer:
Please note that the object snap must be activated for inserting a new linear dimension. Also, it is necessary to activate the corresponding objects for the snap in the "Object Snap" tab of the "Work Plane and Grid/Snap" dialog box.The object snap can be activated in the status bar (see the image).