Detachs an external reference (xref) from a drawing.
Syntax
XRef.Detach()
Where:
XRef is the name of the external reference to detach.
Examples...
Detach method example