Following code is a LISP. Since you're a student, I'm presuming you know how to google to get to know how to use a LISP.
Routine workflow:
- select a multileader containing a number. Routine will take the number and the coordinates of the head of mleader (the arrow)
- then you pick 2 points to place new mleader on the photo.
- routine take current mleader style - so it's up to you to set correct settings.
(defun c:COO ( / ent pnt txt num)
(while (and (setq ent (car (entsel "\nSelect mleader containing number <done>: ")))
(= (cdr (assoc 0 (entget ent))) "MULTILEADER")
)
(setq pnt (cdr (assoc 110 (entget ent)))
num (cdr (assoc 304 (entget ent)))
txt (strcat "(" num ")"
"\nx=" (rtos (car pnt) 2 2)
"\ny=" (rtos (cadr pnt) 2 2)
"\nz=" (rtos (last pnt) 2 2)))
(command "_.MLEADER" PAUSE PAUSE txt))
(princ)
)
And Student, learn to program!! Unless you have the money to pay for it.