We have a lot of legacy drawings that have full saved paths and we ultimately need to change them to relative paths.
I have tried various LISP routines out there that claim to change the paths and while some work to a certain extent, none quite do everything, as we also need to repath images, DGNs, PDFs, etc.
So, I am writing an all new version that should also change the paths in all attached files.
This is very much a work in progress and nowhere near complete, but for some reason I am getting an error when trying to save the drawings.
I have attached the code so far, if someone can please let me know what I am doing wrong on the saving, I would greatly appreciate it.
There is also quite a bit of cleanup and completion to still be done.
EDIT:
I have a new version now, which is updated; however, there is an error when saving nested blocks, it returns:
"Automation Error. Description was not provided."
I know I must be missing something simple and stupid, but I can't figure it out.