AutoCad :: Xref Default Layer

Nov 21, 2012

We 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


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Change Xref Layer With Xref Name?

Jul 31, 2009

Is 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].....

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Link Xref Layer To Local Layer - Same Display

Feb 21, 2013

Possible 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...

View 4 Replies View Related

AutoCAD 2010 :: Turning Off A Xref Layer / Active Layer

May 3, 2013

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 Related

AutoCad :: Change Non-Xref Layers Show Up As Default

Jun 3, 2012

For several releases Autocad's layer manager has shown only XREF layers in the layer manager by default. Open a drawing with Xrefs (nearly every drawing I have ever worked with) and to access the layers that are actually *in* the drawing, I must first open the layer manager, select the "Xref" filter, and check the Invert Filter box. Then I see the layers that would more logically be shown be default.

Does any way to change this so the non-Xref layers show up be default??? I am currently using Autocad Architecture 2012.

View 8 Replies View Related

AutoCAD .NET :: Setting Attachment Path Default For XRef / PDF / Image / DWF

Jan 11, 2013

Looking for registry keys to control the default attachment type (Full, Relative, & No Path) for XRef, Image, PDF, & DWF in the attachment dialog. (I'm using C3D but this applies to plain ACad also).

For XRef the key is:

HKEY_CURRENT_USERSoftwareAutodeskAutoCADR18.2ACAD-A000:409ProfilesMyWorkSpaceDialogsXattachDialog

The value is "PathType" DWORD = 1 for relativepath

For Image the key is:

HKEY_CURRENT_USERSoftwareAutodeskAutoCADR18.2ACAD-A000:409ISM

The value is "ImagePathType" DWORD = 1 for relative path (NOTE: this value didn't exist, once I created it, C3D used the key for both storing the value when closing C3D the reading the value when presenting the attach dialog).

Looking for keys that control PDF & DWF attachments.

View 1 Replies View Related

AutoCad :: Adding XREF As A Layer?

Nov 17, 2011

I 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.

View 5 Replies View Related

AutoCad :: Way To Not Have Long List Of Xref Layer

Apr 5, 2011

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?

View 3 Replies View Related

AutoCAD .NET :: Making A Layer From Xref Current

Mar 27, 2013

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

View 6 Replies View Related

AutoCAD 2013 :: How To Create Layer On Xref

Mar 7, 2013

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 Related

AutoCad :: Changing Xref Layer Lineweights

Aug 22, 2013

Version: 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?

View 1 Replies View Related

AutoCad :: How To Delete Xref-dependent Layer

Feb 12, 2011

I want to delete Xref-dependent layer. AutoCAd says I can't delete them. I want to delete them.

View 9 Replies View Related

AutoCad :: Xref Layers / Layer Filters

Mar 31, 2011

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 Related

AutoCAD .NET :: Renaming Xref Changing Layer Display

Jan 2, 2013

I 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]......

View 4 Replies View Related

AutoCAD Civil 3D :: Layer Filters To Strip Off Xref Name?

Aug 7, 2012

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

View 4 Replies View Related

AutoCAD 2013 :: Identify Layer Of Object Within Xref

May 1, 2013

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 Related

AutoCAD 2010 :: Changing Color Of One Particular Xref Layer?

Jan 28, 2013

Everytime 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 Related

AutoCAD 2010 :: Xref / Layer States Manager

Jul 20, 2011

I 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????

View 4 Replies View Related

AutoCAD 2010 :: Nested Xref Layer Colors

Aug 17, 2012

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.

View 5 Replies View Related

AutoCAD 2013 :: Xref In Layer Properties Manager

Apr 10, 2012

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.

View 3 Replies View Related

AutoCad 2D :: Xref Layer Colours Refuse To Change

Aug 16, 2011

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).

View 3 Replies View Related

AutoCad :: Freezing Items In XREF Drawing That Are On Layer 0

Nov 8, 2011

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 Related

AutoCAD Civil 3D :: Xref Layer Color (Back To Original)

May 24, 2013

Is 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.

View 5 Replies View Related

AutoCAD 2010 :: Layer Manager Show ALL / Xref Layers But Not In DWG ONLY

Aug 31, 2013

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 Related

AutoCAD 2013 :: Layer Control Dropdown Toolbar Vs Xref

May 20, 2013

Why 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 Related

AutoCAD 2010 :: Xref Attach Layer Settings In Sheet?

Jul 1, 2013

I 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

View 5 Replies View Related

AutoCAD 2013 :: Xref Reload And Losing Layer States?

Nov 2, 2012

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")

View 9 Replies View Related

AutoCAD Civil 3D :: Copy Parcel Lines On Xref Layer Zero

Mar 21, 2013

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.

View 6 Replies View Related

AutoCAD Civil 3D :: Xref Attach Layer Settings In Sheet?

Jul 1, 2013

I 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.

C3D2012  W7
Tom
C3D 2012 sp1
W7Pro 64bit
HP Z400 Workstation
16 GB RAM
Intel Xeon CPU W3565@3.20GHz
NVIDIA Quadro 4000

View 5 Replies View Related

AutoCAD Civil 3D :: Action Recorder Xref Layer Color Change

Sep 20, 2012

A way to Change the color of an xref layer via command line by selecting the layer and not by knowing the layer name?  What I am trying to do is come up with an action recorder file that will allow you to change an xref layer color.  

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Xref Layer Color

Aug 14, 2009

I'm looking for a lisp that will change all the layer colors of selected xref by clicking the xref and select color from the color table palette. I have a routine that would change the layer color of a selected entity other than xref.

;;Changes selected object layer to a true color
;;of chose from a dialog
box
(defun c:cvc (/ ent ent_data rgb str objlay)
(setq ent
(entsel)
)

[code]....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved