an AutoLISP routine that works like the DISTANCE command but lets you pick more than two consecutive points and displays cumulative distance.