This tool will help you visualize distance between two points, it's very handy for people working in architecture and interior design. It's not a pure script only Text and tape stretching reflects the distance through a float script controller.
How to use:
-Make sure your display units matches your system one because this tool gives the distance in system units so don't get confused and just check it in Customize menu>Units setup.
-Merge it in your scene.
And as in the picture below you only have to move the right and left handles (dummies), and the middle controller is for rotating and scaling the number and the arrows. And be careful if you applied extrude to the text it won't update the distance for some reason, so in this case after the tape is placed as a final touch you can apply extrude.
The tool can detect system units now, and the codes are as follow: