I get an error saying too few arguments... anyone able to point out my mistake? (setq ss (ssget '((0 . "LINE")))) (setq cnt 0) (repeat (sslength ss) (SETQ ENT (SSNAME SS CNT) PT1 (CDR (ASSOC 10 (ENTGET ENT))) PT2 (CDR (ASSOC 11 (ENTGET ENT))) CNT (+ CNT 1) dist (* (GETVAR "DIMSCALE") 0.375) PA (POLAR PT1 (+ (/ PI 2) (ANGLE PT1 PT2))) PB (POLAR PT2 (+ (/ PI 2) (ANGLE PT1 PT2))) ) ; end setq ); end repeat