Drawing entities by distance along a fence baseline

Hi,

I need to draw a rectangle under the fence data frame which would span the whole length of fence and place vertical lines and text at a specified position not by east and north coordinates but by distance along a baseline. Is there any way how to do these two things?