I want to create a routine where if the user copy/pastes an OLE object or image from one drawing to another, my routine will copy the selected file from the source project directory to the destination project directory and then reassign the file name of the pasted entity to the file in the destination project directory. The intent here is to prevent inadvertent edits of the wrong documents as well as to prevent broken links when drawings are issued to clients.
Is there any way to get this information in AutoLISP or Visual LISP? If so, can the links be reassigned? Thanks for any help