There are some problems while attaching xrefs in Autocad 2013 it shows "eduplicaterecords" error and "Invalid" while attaching manually. But the functionality is working good in Autocad 2012 and below editions of Autocad.
This error is getting resolved when i use "audit" command for Autocad 2013. So i want to customize this command.
I have this error while attaching xrefs with the code db.AttachXref() method. This works fine for Autocad versions 2012,11,10. But it is not working for 2013. It works fine for autocad 2013 when i do audit command from autocad menu.
So thats why i wan to customize audit command in .net before attaching xref with db.AttachXref() menthode.
Check the AutoCAD 2013 board, there have been problems reported with XREFs so I don't think its something in your programming. I recommend waiting until the first SP to see if it has been adressed before trying to hard on a work-around.