Detaches an external reference (xref) from a drawing.
See Also | Example
The object or objects this method applies to.
Detaching an xref removes the xref from the current drawing. All copies of the xref are erased, and the xref definition is deleted. All xref-dependent symbol table information (such as layers and linetypes) is deleted from the current drawing.
You cannot detach an xref that contains other xrefs.