I am trying to write a routine that does different things depending on the length of the line. I am having the user pick two points: (setq pt1 (getpoint " Pick first point...")) (if pt1 (setq pt2 (getpoint " Pick end point..."))) from here, I want the routine to act as follows: if the distance between PT1 and PT2 is 5" or greater, do this if the distance between PT1 and PT2 is less than 5", do something else Can someone point me in the right direction ? Thanks!