I tried to modify existing routine (see attached lisp .. I dont' know who created it) in oredr to add function to reattach "unbinded" xrefs, but when programm tried to attach new created
file I have a problem with a path to this file and program can not determine where to find recently created file
I think a problem hidden in this string
(command "attach" (strcat (getvar "dwgprefix")(vl-filename-base fname)) "o" "0,0,0" "" "" "")
Any help will be very appretiated.