Print Page | Close Window

Script to detach all xrefs

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=8105
Printed Date: 11.Jun.2026 at 08:37


Topic: Script to detach all xrefs
Posted By: dynodyno
Subject: Script to detach all xrefs
Date Posted: 12.Jul.2012 at 22:06
Apologies if this has been answered on a previous thread, but I kept following the solution but it's not working for me.
The script is:
 
-xref
D
*
 
But unfortunately it doesn't work. Here is the actual command sequence that I have:
 
Command: -xref

Enter an option [?/Bind/Detach/Path/Unload/Reload/Overlay/Attach] <Attach>: d

Enter xref name(s) to detach: *
No matching xref names found.
 
I am using AutoCAD 2013 LT.
 
EDIT: These xrefs found in the drawing are unreferenced.
 
Thanks in advance.



Print Page | Close Window