Dear Mr. John, thank you for responding!
I understand that I should use GETPOINT, followed by GETCORNER, including a LISP already done this way (see below):
(initget 2 "S")
(setq dxold (getdist (strcat "\nDigite o fator de ajuste da largura (você está trabalhando com medidas em " funi "), ou <S> para selecionar dois blocos já posicionados, ou <enter> para zero: ")))
(if (equal dxold "S")
(progn
(setq dxold nil)
(while (equal dxold nil)
(prompt "\nSelecione dois blocos já posicionados na formação desejada (em linha reta horizontal): ")
(setq fp1 (getpoint "\nSelect objects: "))
(if (and fp1 (listp fp1)) (progn (initget 32) (setq fp2 (getcorner fp1 "\nSpecify opposite corner: "))))
(if (and fp2 (listp fp2))
(progn
(setq dxold (ssget "_c" fp1 fp2 (list (cons 0 "insert"))))
(if (/= (sslength dxold) 2)
(progn
(alert "É necessário selecionar DOIS BLOCOS devidamente posicionados, na posição horizontal.")
(setq dxold nil))
(progn
(setq dxold1 (list (falignents "c" (ssname dxold 1)) (falignents "a" (ssname dxold 0))) dxold1 (abs (distance (car dxold1) (cadr dxold1)))
dxold2 (list (falignents "c" (ssname dxold 0)) (falignents "a" (ssname dxold 1))) dxold2 (abs (distance (car dxold2) (cadr dxold2))))
(cond ((> dxold2 dxold1) (setq dxold dxold1)) ((> dxold1 dxold2) (setq dxold dxold2)) (t (setq dxold dxold1)))
)))))))
However, my research is being done with the purely aesthetic intent:
When using GETPOINT, the mouse cursor turns an X, whereas when we use ENTSEL, the cursor is with the PICKBOX square, and I wanted it to use GETPOINT (or some other device) with X, stick with PICKBOX square, understand?
Thank you!
Emanuel - Brazil.