I'm trying to write an very simple function to let me draw a rectangle in MM's by entering Inches. The rectangle command keeps asking for a 2D point for rotation and errors out. I know I'm missing something very basic and could use a little help. I feel a forehead slap coming on, thanks in advance. Oh yeah, this is what I have so far:
(defun C:REMM (/ ROT SPOINT RLENGTH RWIDTH )
(setq ROT "0")
(setq SPOINT (getpoint "\Pick rectangle start point."))(princ)
(setq RLENGTH (getreal"\Length in INCHES to be drawn in MM - "))(princ)
(setq RWIDTH (getreal"\Width in INCHES to be drawn in MM - "))(princ)
(command "rectangle" SPOINT "D" RLENGTH RWIDTH ROT))