Dimension Between Two Points

I have been racking my brain trying to figure out how to place a dimension between two points. I have been able to extract the points on my floor edges, but now I would like to place a dimension between those points. Does anyone have any solution to this?

FLOOR DIMENSION TEST.dyn (126.5 KB)

Here is the script I have thus far.