
Select the object on 3D viewport.
Go to the object property on right-side control panel.
Select the Viewport display menu
Click Name in Show submenu.
On the above example, the name of a line object is ‘Top of dome’. This name tag
is showed at origin of the object.