Dear all,
Could some LISP Guru help with this >>

We have plenty of drawings witch contain Xrefs , and this Xrefed dwg contain other Xrefs which come to be Unreferenced in the main drawing. This unreferenced drawing don't have to be placed (Binded in), only the original Xref.
But founded lisps doesn't work for this problematic drawings, and this unreferenced drawings cant be either detached from the drawing...

Does any come with solution for this ? OR VBA ??

In attachment is Lisps which works only if the Xref is as simple drawing without any Xrefs in Xrefed file... Bud this I cant use. SENT_detach-bind-purge_ver1.lsp

Thanks for advance