lazy Arquitecto, my issue with AutoCAD is that it won't let me detach xref in some of my drawings
Aron I have three solutions for your xref problems
hi I'm the lazy Arquitecto, and welcome to a new video on AutoCAD issues and solutions series
solution one, if you can't detach an xref in AutoCAD
it might be an xref inside another xref
xref has multiple references. let me explain this. xrefs can be nested within other xrefs
that is, you can attach an xref that contains another xref. type XR
To open xref palette. if you try to detach these two xrefs, you can see
detach xref greyed out. this is because these two xrefs are inside this other one
so to fix this double click on the xref. you can also open it
from your AutoCAD ribbon
as you can see here the options to detach these files now are available
so go ahead and select both files and detach them. now you can save and close your drawing
here on the main drawing, reload your external reference or xref
and you can see that your issue can't detach xref was solved.
this was the common and simplest solution. so let's go ahead with a more complicated situation
solution number two, if you still can't remove or purge xrefs in AutoCAD because
detach xref grayed out try this. type frame on command line and press Enter
set it to 2 and press ENTER again
as you can see there was a hidden xref with a frame turned off. now you can remove xref
and attach your external reference. from now on, if you have detaching xref problems
check for hidden xrefs in your main external reference or in the drawings inside
solution 3, if you still are unable to detach xref, you might have a block
with the same name of your xrefs. let's take a look at this example.
if you try to remove or detach this external reference, the following error shows
no matching xref names found. you can also have other errors such as
xref has multiple references. not detached. this is because the xref has been defined
within a block in the drawing. probably coming in via copy/paste action from another file
to solve this, find your block if you can, and remove it. make sure no blocks
are present in model and paper space that contain the xref. then issue the purge command
to remove the block definitions
...
the xref should then detach via the xref palette, but if problem persist, like with this drawing
it is because block still exists on your drawing. so go ahead and
double-click on xref you want to detach, press ctrl C to copy xref name,
type rename on your command line and press Enter. select block and paste xref name
pressing ctrl V. here, type any other name for your block. as you can see
this helped you remove unreferenced xrefs. Don't forget to give this video a like,
share with your friends, and click Subscribe for less clicks and more done!