The goal is to find the limits of a titleblock just by clicking it. I want to use the lower left and the upper right coordinates for plotting. In fact, I have the lower left point (insert of the block) but I want to find the upper right corner.
Boy is my face red. Use something like this to get the name of the titleblock:
(SETQ EN1 (ENTSEL"\nSelect entity to display its data: "))
(SETQ EN2 (ENTGET (CAR (ASSOC 2 EN1))))
Then, use boolean to set the already stored values:
(IF (= EN2 "TITLE1")
(SETQ CORD1 "0,0 12,12")
)
Rudimentary, but I hope this helps.