Thanks a lot guys. You've been a big help.
I used Tim's suggestion to modify my titleblock update routine to automatically update our nested logo block when the titleblock is updated. I posted the final code for this on the AUGI forums http://forums.augi.com/showthread.php?t=69110
I used Joe's suggestion to write another routine to update only the nested logo by picking the logo on the screen.
(defun updatelogo ( / );vss lgname nlgname)
(setq vss (car (last (nentsel "\nSelect Logo to Update: "))))
(setq lgname (cdr (assoc 2 (entget vss))))
(if (findfile (setq nlgname (strcat "Z:/Autodesk 2008/JRSym/Logos/JRLogos/"lgname".dwg")))
(progn
(command "-insert" (strcat lgname"="nlgname) "y")
(command)
(princ (strcat "\n"lgname" redefined."))
)
(princ (strcat "\nCould not find "nlgname))
)
(princ)
)
(defun c:updatelogo () (updatelogo))
(defun c:udlg () (updatelogo))
Jeff Paulsen
Civil 3D 2020.4 | Win 10 Pro N 64-bit
Xeon W-2223 @ 3.60GHz, 32GB Ram | NVidia Quadro P2200