I am trying to detach all xrefs via oDBX? I get the error "Method Unload failed" Has anyone been able to do this? Code.... dbxDoc.Open FileStr For Each Ent In dbxDoc.ModelSpace If TypeOf Ent Is AcadBlockReference Then Set BlkRef = Ent Set Blk = dbxDoc.Blocks(BlkRef.Name) If Blk.IsXRef Then Blk.Detach End If End If Next dbxDoc.Save