This exists on the pet palette already. Sort of.
Draw a line of any length. Highlight it and click an end node. the length is displayed. you can type a new length if desired.
this works for line segments and wall segments.
Think Like a Spec Writer
AC4.55 through 27 / USA AC27-4060 USA
Rhino 8 Mac
MacOS 14.2.1