Raster Autocad [upd]

Before diving into the tools, it is essential to understand the difference:

;; --- User Input --- (princ "\nSpecify first corner of raster area: ") (setq p1 (getpoint "\nPick first corner: ")) (if (null p1) (exit)) raster autocad

;; Calculate dimensions (setq width (abs (- (car p2) (car p1))) height (abs (- (cadr p2) (cadr p1))) ) Before diving into the tools, it is essential

the code as raster.lsp (plain text file) Before diving into the tools