0 Members and 1 Guest are viewing this topic.
(defun _foo (pdfname newpath / d) (and (setq d (dictsearch (namedobjdict) "ACAD_PDFDEFINITIONS")) (setq d (dictsearch (cdr (assoc -1 d)) pdfname)) (entmod (subst (cons 1 (strcat newpath pdfname ".pdf")) (assoc 1 d) d)) ))
Did it work ?