AutoCad :: How To Delete Xref-dependent Layer
Feb 12, 2011I want to delete Xref-dependent layer. AutoCAd says I can't delete them. I want to delete them.
View 9 RepliesI want to delete Xref-dependent layer. AutoCAd says I can't delete them. I want to delete them.
View 9 RepliesWhen I insert a drawing from another source as a block into one my drawing - and then explode the block and change the exploded block layers to my layers. Then I purge out the old layers. Normally this works fine, but I have lately had trouble getting rid of some unwanted layers as everytime I have tried, I get the message that they are x-ref dependent and cannot be deleted or purged. I have tried to isolate them by freezing and turning off everything else, but there are no features, entities, "specks" whatever, to erase. I have looked at the xref command, and my drawing shows no rogue xrefs. I am not sure what to do to get rid of these layers.
View 8 Replies View RelatedIs it possible to run a lisp which can extract all the xref names, make a layer with that name and then change the xref on the layer? I have got a similar routine from earlier posts but it doesn't work if any xrefs inserted in paper space (works fine on model space). could change this routine allowing to change the layer of xref in paper space too.
(defun dxf (i a) (cdr (assoc i a)))
(defun c:lxr ( )
(setq ss (ssget "x" '((0 . "INSERT"))))
[Code].....
I copied and pasted special part of an excel document into AutoCAD Map 3D. But I had deleted it instead of detaching it. How do I remove it? Its says I cannot reload, detach or bind. I have 6 of those. I have 2 more that are Not Found and states the same thing. I just want them gone. How do I do it?
View 6 Replies View RelatedPossible to link an xref layer and local layer so they display the same (eg. sync viewport colour, linewieght, line type)?
I insert xref's for my base drawing but legend is on local layers and I would like to be able to ensure that the line colour and linetype always match...
Is there a macro or lisp file that allows you to click on a element in the xref or active file and turn it off?
View 5 Replies View RelatedIm working on a reticulation drawing with the site plan XREF'ed in. Why XREF manager has dozens of unreferenced attachments which I cannot delete. See image.
I was working on the drawing this morning and reloaded the XREF without trouble, then I saved the retic drawing as a Rev 3 and now I cannot reload the XREF. Then when Id like to remove and reattach it I cannot find it in XREF manager yet it is still visible on my drawing.
Everyone at the office where I work is having the same problem with AutoCAD 2014:
1. When creating a new layer state, and selecting all layers and clicking "remove from layer state" and then "okay", upon going back into the layer state, about 80% of the layers have returned and you have to select all and delete again and hit okay, and then go back in and do it again, about 7 or 8 times total before the layer state is cleared out and ready for you to add back just the desired layers. Even if you don't create a blank slate layer state to begin with, whatever layers you delete, once you hit okay and go back into the layer state, most of the ones you just deleted are back.
2. Even more of a problem is that sometimes all the already created layer states will suddenly reassimilate ALL layers in the drawing, and the above process has to be done to all existing layer states.
This takes an enormous amount of time to correct for multiple layer states, which we typically have in a drawing.
Why can you no longer delete layers with the delete key?
View 4 Replies View RelatedWe are having an issue with CAD users putting their xrefs on any layer that is current; thus creating some layer control issues. I would like to make it so that when they go to attach an xref the layer is automatically set to the "XREF" layer and then possibly reset to the previous layer.
View 2 Replies View RelatedI have a drawing of a floor plan, and on a separate drawing I have text that I need to add to the floor plan drawing.
I've used the XREF command and positioned it exactly where it needs to go, but I can't edit the text drawing unless I "Open XREF in place"
I got close by going to the XREF dialog and "Binding.." the drawing as an INSERT and now it's one huge block.
I'm trying to insert the drawing with the text on the drawing with the floor plan so it's one drawing and so I can edit the text or move things around if I need to.
I am using Auto Cad 2011 and I always use the option to 'attach' xrefs. what is the difference between attaching and an overlay? Does one use less memory than the other? When would be the best time to use an overlay?
Also when my new version was installed when I bring in an xref the layers show light (I really like this) another girl in our office has the same version but her layers are still saturated. how does she change it to show ghosted layers in the xref?
is there a way to not have the long list of xref layers when I bring them into a drawing?
I want to make a layer from external reference current.
I tried to identify it with its full name, but I got an error: eInvalidInput. So I found out, I have to use only the part behind the pipe.But then there is a problem, because this name is not unique withing the drawing.
Any number of xrefs can have such layer and also the drawing itself can have a layer with the same name. How exactly can I set a layer from xref current?
example:
layer from xref1: Xref1|LayerName1
layer from xref2: Xref2|LayerName1
layer from the drawing: LayerName1
How can I create a layer on my xref so it doesn't affect othere sheets referencing my drawing without having to open a couple of hundred draiwngs. I know I can create my layer, freeze it, save my drawing, open all sheets referencing my xref and save them. Better yet, is there a setting I can use that makes my new layer pop up frozen on for all sheets while I work on my xref, on a newly created layer?
View 4 Replies View RelatedVersion: Civil 3D 2012 and use CTBs for our plotstyles.
I'm working on a fairly large project that requires an excessive amount of base drawings. We frequently will be asked to have a drawing made and issued in a morning. To make sure we can constantly throw these drawings together quickly we've setup an xref system of all our base mapping data. (I'm sure this is a common thing but its the first time I've been exposed to it).
A lot of these drawings will have polylines with global widths on them. The problem with this is that global width doesn't always work so well when changing scales (we frequently bounce from 1:100 to 1:20,000) or when you just don't need the line to be so thick.
Two questions:
1) Stop using global widths on lines in the base drawings and switch to a method of setting lineweights of the xref layers when you xref in a drawing.
2) find that it ends up rounding off the end of the lines. Is there a way to prevent this from happening?
My company uses tons of Xrefs - wonderful, however problem comes when having to navigate through 100's of layers to get to the main drawings layers. So I tried using the layer filters to just show my main drawings layers. Here is the problem, I you can select show all layers, not good, can select just the xrefs (show all of them or show just one of them, etc...), or you can show just the used layers - I tried that, but when you create a new layer it is not included in that filter. I tried setting up a custom layer filter, however, I don't know how to right the name or what selection to make that would allow me to exclude a set of layers.
View 9 Replies View RelatedI am trying to rename all the xref's on the drawing with suffix "_renamed" With the code shown below , I am able to do this. But the problem I am facing is once the code renamed and reloaded the xref, the Xref-dependent layer properties are changing to Xref source layer properties.
Also the VISRETAIN variable is 1. Please find the code below.
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.Geometry
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.EditorInput
[code]......
Is there a way to set up a layer filter to strip off the xref name?
I have standard layers in all my drawings. I want to use a filter to setup the type of drawing.. i.e erosion control.
However, from project to project the xref file name changes so filters don't work with the new name...
Anyway, if there is a way to hide the xref filename from the prefix of the layer.. if so, a standard layer filter would grab all the layers with the same name.
Civil 3D 2012 SP2
Win 7, 64 bit
I work with bridges and get xrefs from our road designers containing hundreds of layers. I'd like to point at an object in these xrefs and get the layer name. Is there a simple way to do this? The way the LAYFRZ-command works, freezing a single layer, I figure ACAD should be able to just return the layer name instead. Does this functionality exist?
View 2 Replies View RelatedEverytime I attempt to change the color on this one particular layer (that is brough in though an xref), it changes the color of every layer in my drawing. I am using Autocad MEP 2012
View 1 Replies View RelatedI have a Xref with multiple Layer States,
I xref'd it into a sheet with Floor plan Layer States,
nowi want to Xref it in again with the Ceiling Plan Layer Staes.
Just to be clear i want the same Xbase Xref'd in a sheet twice with 2 different layer states. how do i do this????
My question pertains to layer colors from xrefs that have other xrefs nested inside them.
When I get xrefs from the architects, I get a building layout, RCP, space layout, etc. I tie all these together into a single "architect base" xref so I don't have to attach 4 xrefs to each new file I create. What I would like to be able to do is set all the layer colors in the misc. architect xrefs in my "architect base" file and have those color settings propagate into my drawings as I create them. This comes into play especially if I have to create a new drawing late in the project, and I don't want to have to go set hundreds of layer colors individually. ?
Visretain comes to mind, but visretain (if I'm correct) is really for keeping xref color settings in your current file from session to session, not in a new file that you are creating using an xref.
As I recall, in previous versions of AutoCAD, when I am in the Layer Properties Manager and I click on an xref under the Xref heading, the only layers shown were the ones in that xref, not all.
That is what is happening now. I cannot seem to find any setting under the settings for the Layer Properties Manager that would change this.
For the whole project we’ve had this issue, however it’s never effected our drawing until now.
When we receive an background, we use setbylayer to change everything to by layer, then in the layer manager, set the layer colour to 8, so all is grey.
Then we xref that background dwg into our model drawings and doodle all over the thing, pretty standard stuff.
But today, in our model drawing, I’d like to change, well, any of the xref’s layer colours, but I cannot! As soon as I make a change, it reverts back to the original ‘8’ colour. It refuses to change colour.
I’ve changed visretian from 0 to 1, open, closed, changed it again, all combinations but to no avail.
I can freeze, turn off & on layers, just not change the colour (or lineweight).
I have a drawing with an XREF in it and both drawing have items on layer 0. Is there a way of freezing the items in the XREF drawing that are on layer 0 but still layer 0 on in my drawing?
View 8 Replies View RelatedIs there a way to revert back to the original colors of an xref besides having to reattach the xref and purging the DWG.
I always change the colors of the projects Existing site/utilty XREF to color 252 to shade it back to have the proposed show up darker. But I try to select all layers to change the colors back to what they were before and the box to set color by layer is not available.
Do the people that develop (anti-endusers ) the upgrades ever think like an end user? Having the Layer Properties Manager set up with default filters that show "ALL" layers or "Xref" layers without a default for "Layers Local ONLY" is so counterintuitive and non-user friendly! This is just another example of how Autodesk has absolutely no regard for the end user.
View 2 Replies View RelatedWhy does the layer control toolbar always state the Xref layers by default. Is there a workaround, or a setting so the layers of the current drawing are displayed by default?
View 2 Replies View RelatedI have a Base.dwg where I xref-Attach a Proposed.dwg file into. I changed the Color=gray and Plot Style=Existing of the Proposed xref in the Base. Visretain=1.
I now create a Sheet.dwg and xref Base into it (and Proposed comes along too). The settings for Proposed are not what I have set in the Base file, they are what's in the original Proposed file.
Can I get these settings to come through? I cannot go into the original Proposed file and change settings.
C3D 2012 sp1
W7Pro 64bit
HP Z400 Workstation
16 GB RAM
Intel Xeon CPU W3565@3.20GHz
NVIDIA Quadro 4000
We recently upgraded from 2006 to 2013. We had a lisp routine in 06 that would reload all the xref's in a sheet so the layer states would update since simply reloading the xref did not always work. Below is the code we used. Now, in 2013, when we run it, I lose all layer states.
(defun c:xrl ()
(setvar "visretain" 0)
(command "_qsave")
(command "xref" "reload" "*")
(setvar "visretain" 1)
(command "_qsave")
I make parcels in a base dwg and make separate layers for each parcel and labels moving them off the default layer zero.
i xref the base and then try freezing all the parcel layers and the go away but i am left with a copy of the parcel lines on xref layer zero with no control over it.