Hi All,
As a newbie to AUTOLisp, I am trying to accomplish the following with a script/function, however I still haven't found much useful information
1. While looping through the files in the directory, check if each drawing has any xrefs attached.
2. If yes, then copy all objects from all attached xrefs to the current drawing, and detach them. If no, skip the the next drawing. (If there are xref objects that cannot be copied to the drawing (such as jpgs), then leave them as they are).
3. Save the drawing with the same file name in another folder.
I know this sounds like asking someone else to do the homework for me, but any kind of help is appreciated as a lot of time has been used already googling around without much progress.....
Cheers