I have asked similar questions before, but I think I have this narrowed down. I need to repath xRefs without using VLA or VLAX commands.
I have the following code, which works fine on DWFs. I would think that there would be a way to modify this to work with xrefs, I just don't know what to replace "ACAD_DWFDEFINITIONS" with.
(and (setq d (dictsearch (namedobjdict) "ACAD_DWFDEFINITIONS"));This is the line I need help with, I don't know how to find xRefs
(setq d (dictsearch (cdr (assoc -1 d)) rName))
(entmod (subst (cons 1 rPath) (assoc 1 d) d))
)
I currently use -xref to repath, the problem is that it won't let me repath xrefs that have been saved with a relative path.