Can you delete XREF dependant layers or are there any workarounds?

Can you delete XREF dependant layers or are there any workarounds?

harveyXRS9Z
Enthusiast Enthusiast
1,813 Views
11 Replies
Message 1 of 12

Can you delete XREF dependant layers or are there any workarounds?

harveyXRS9Z
Enthusiast
Enthusiast

I had a drawing where an item/s had been brought in from someone else's drawing so it came with all their layers.

The item/s appeared to have an XREF to the drawing they came from as it would not let me delete their layers from our drawing.  The item/s had been moved to one of our layers and anything I didn't need I deleted, so there was nothing on the layers I wanted to delete.  Also when I looked at the XREF palette there were no obvious XREFs.

 

When I came to delete these layers it came up with the error message about XREFs etc.

 

Looking on the forums on way to sort it is to merge these layers into another layer, in this instance into one of our own layers, which is what I did in the end.

 

Questions I have are:

 

- Do items brought in from another drawing always come with XREFs to that drawing or does it just apply to certain things you bring in like blocks?

 

- Either way, is there a way of copying items into a drawing without XREFS attached to them?

 

- Is there another way of actually deleting the layers, rather than merging like I did.

 

- Failing the above, if merging is the only option, does merging remove any evidence of where the items originated from i.e. do the merged layers have 'properties' that could be accessed showing where those layers came from?

 

The reason I ask all this, is that we create drawings using items from other people's drawings (our supplier's), but the people we send our drawings to shouldn't know who our suppliers are, so we don't want any reference to our suppliers in our drawings.

 

Thanks.

0 Likes
1,814 Views
11 Replies
Replies (11)
Message 2 of 12

pendean
Community Legend
Community Legend
Binding Xrefs does that too: if someone did that, you have to fix it all with LAYMRG command as those layers/items are in use..

A test: WBLOCK command, select the objects in modelspace you wish to keep that do not include an XREFs: now open the newly created DWG file, if it still contains any layer you don not wish to have then you will have to deal with ten using LAYMRG or LAYDEL commands.

If this is a dire business need, then you al need to give up your LT subscriptions, cough up more money for full AutoCAD and use it's STANDARDS feature set to fix DWG file to conform to your chosen template for that project https://blogs.autodesk.com/autocad/cad-standards-checker-exploring-features-benefits-autocad/ and https://www.autodesk.com/autodesk-university/class/Improving-Quality-CAD-Standards-Manager-AutoCAD-2...
0 Likes
Message 3 of 12

harveyXRS9Z
Enthusiast
Enthusiast

Thanks for that Dean...think that possibly answers my third question.

 

Any thoughts on the other three questions?

 

Thanks.

0 Likes
Message 4 of 12

pendean
Community Legend
Community Legend
If you performed the WBLOCK test as I wrote it (notice the subtle XREF instruction), all of your questions would be answered.

Asa a general rule, nothing shows up in a DWG file that was not somehow in your selection of items that brought them in.

0 Likes
Message 5 of 12

harveyXRS9Z
Enthusiast
Enthusiast

Thanks Dean,

 

Are you saying I should do a WBLOCK command from the drawing I'm nicking items from?

0 Likes
Message 6 of 12

harveyXRS9Z
Enthusiast
Enthusiast

Just not sure whether I've made myself too clear...

 

From what I understand, you are saying I should use WBLOCK command from the (suppliers') drawing I'm taking items from, that way I won't get unwanted layers from their drawing coming into our drawing which I then can't delete?

 

My trouble here isn't so much that though, as essentially, I want to get rid of all of the layers that came from their drawing (after having moved the items to our own layers).

 

Does using WBLOCK command from their drawing stop them being XREF dependant layers once they are in our drawing?

 

Thanks

0 Likes
Message 7 of 12

RobDraw
Mentor
Mentor

You started with a drawing that doesn't have XREFs. Therefore, you don't have any XREF "dependent" layers.

 

This is a simple layer management exercise. Forget about the extraneous information about a non-existent XREF. Share the drawing for best results.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 8 of 12

harveyXRS9Z
Enthusiast
Enthusiast

Thanks Rob,

 

Sorry, I am reasonably new to CAD so not too familiar with some of the technical details.

 

I have merged the layers I was struggling with and saved that drawing now so I don't suppose I can demerge them again?

 

Am I right in thinking you are saying that the layers I brought in from the suppliers' drawing were XREF dependant already?

 

Thanks

0 Likes
Message 9 of 12

RSomppi
Mentor
Mentor

As @RobDraw stated, If the drawing doesn't have any XREF's, it cannot have XREF dependent layers.

0 Likes
Message 10 of 12

pendean
Community Legend
Community Legend
@harveyXRS9Z Why not share your "problem" DWG file here and show us/explain your challenge a bit better inside it: I think it may be time for others to observe your drawing themselves along with you.

TIA
0 Likes
Message 11 of 12

schmausZYNAJ
Observer
Observer
Kind of. For example, I am struggling with deleting XREF dependent (or at least apparently) layers when the XREF was detached however what I didn't realize is upon importing the XREF it brought blocks and POINT STYLES with it. These point styles are from Civil 3D and because AutoCAD has no point styles I am not able to delete these. They are unpurgeable thus all the dependent blocks are unpurgeable and the accompanying layers. Anyways, I should probably start a new thread...
0 Likes
Message 12 of 12

harveyXRS9Z
Enthusiast
Enthusiast

Thanks @schmausZYNAJ

 

In the end I found the same.  Using the PURGE command you can see which items are non-purgeable and by extension which layers cannot be deleted.  Often these non-purgeable aren't easy to find/select and delete even using the QSELECT command.  However, if the non-purgeable item in question is an 'object', you can go into the non-purgeable items list and drop down the objects toggle, then double click on the 'object' which will take you to the selected item in your drawing.  You can then delete it and hopefully purge out that layer.

0 Likes