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.
How to edit the string below so that it will ignore all layer names starting with "E-". I want to change all XREF layers in the current dwg. to 161 but ignore all XREFED layer names that start with E- such as E-lighting, E-power etc.
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
How can I update the file path to an XREF which is NESTED? I point the file to the appropriate xref and even though I save the file it won't point back to the file upon opening?
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.
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
I have two dynamic blocks. One is the plan view of a cylinder and one is the elevation view of a cylinder. When I change the parameter of the OD on the elevation, I want the plan view to change. I'd like to keep them as blocks (they're a little more complicated than just cylinders), but when I try to use parametrics to tie these two dimensions together I get: "Constraints cannot be applied between nested objects in the same block or Xref."
When 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.
The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks.
When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number?
We've been working with adding schedule tags in paper space for objects nested within an xref. The first time you do this however, the manual properties (it seems) do not update if the value of the manual property is changed back in the xref dwg. However, the Automatic properties do seem to update.
When we initially found this we past it off as a limitation. However, one of our users was experimenting and found that the first time you tag the xref resident object... the schedule tag reads the correct manual properties value. However, If you remove the property set from the schedule tag... then the manual property will update correctly showing the current value as it is back in the xref dwg even if it is changed.
This makes complete sense as the manual property set data can be edited from either the tag or the object or from the schedule... IF THE TAG and the object are resident in the same drawing file - in this case you DO NOT want to delete the property set from the tag... if you do this the property set is also removed from the object. However, when tagging objects nested within an xref, then you need to remove the property set from the tag... THEN the manual property will update correctly.
I am using AuotCAD Architecture 2012 and suddenly the Xref/Block Object List dialog box stopped opening when I use the XLIST command. How Can I get this back?
I have noticed something strange in autocad 2012. when i create a new layer and then pick a color for that layer it will work fine, then when im working in the drawing and i pick a line and go to the pull down to put that line on the new layer, it will not be the color i chose. then when i look in layers to see whats going on, it will be the wrong color, i can change the color back to what i want, but the line will not respond. I actually have to, In the layers, pick a different color, then pick the color i want again and then it will work.
I have a Lisp that I have been working on with some folks in the office, and i feel like i am close, but i am not getting the cigar. The idea would be to have the lisp allow the user to select a nested x-ref entity, and change the color and linetype of the selected layer, similar to the old "LAP" command (I know it is a dinosaur, but I still miss it). I seem to be doing swimmingly, code I have quasi-plagiarized. It seems to crap out where i try to pass the selected linetype back to the layer. I get the nastygram "Command: ; error: no function definition: GETLINETYPE" right after selecting the linetype from the dialog.
Code below...
x(defun c:CX (/ Sel EntList DataList cnt Num ClrNum EntData) (if (setq Sel (nentsel " Select object to change layers color and linetype: ")) (progn
I have noticed when changing colors in the layer manager it does not take the first time and sometimes the second either. It does not seem to matter if creating a new layer or simply modifying existing.
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"))))
wondering if its possible to turn off lines inside of nested blocks.
When we tried to do this inside a heavily layered and blocked drawing, it seemed to make the file unresopnsive, unloadable, and general "autocad freezing" issues. We Reconsitituted the entire file from the ground up and found that by NOT turning off these lines inside of nested blocks (ceteris parabis) the file works fine.
We like to turn these lines off becuase different teams are working on different parts of the drawing and we like to focus on one section by turning the other off. Is this possible? Is there a better way to do this?
We are working with a company that will be sending us DWG files. They do not use the same layer colors as us and I am trying to find a lisp that would allow me to set up a table with the layer names and the color I want them to be so that I can quickly change all the layers to our companys color standards.
Example:
Layer 1 = Color 1 Layer 2 = Color 15 Layer 3 = Color 10 Etc.
I don't know a lot about lisp but I figure if I could find a lisp that did this I could plug in my layer/color assignments and it would work.
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...
How to avoid nested references reload every time I open autocad drawing. In some drawings I have twenty nested references. I really need to avoid reload each reference.
The normal color scheme for xref'd entites is the color gray. Is there a way to change them so that the linework can be more distinguishable? With everything being gray, it is hard to differentiate between contour lines and feature lines.
You can see in the attached screen cap that colors 1-9 appear as white on my screen and that colors 10-22 are not correct either. This is only occuring in one specific drawing. Is there a preference that I switched somewhere that would make this happen? I have double checked that everything is ByLayer or ByColor that I can think of. If I insert this color chart into other drawings it looks fine. using C3D 2012.
I would just restart my drawing, however it is the new company template file that I have invested many hours into and would really like to be able to keep working with it and not start over. Or is there a good way to import and overwrite all the Prospector settings into a blank drawing?
My goal is to change all of the objects colors in an xref drawing to gray to use as a background to my work. All changes to the xref drawing were made in the drawing itself, none of this was done in the base drawing.
The quickest way I could find was to change set by layer mode to color only and use set by layer to change all of the objects (select all). This seemed to work fine, until I noticed that certain text would move slightly when the color changed. Long story short this text (single line) moves slightly when the color is changed, even if I select one text and change the color in its properties.
My question is why would text move or change in some way when you only change the color. It doesn't seem to happen to mtext, only dtext.
I am using Photoshop CS6 and if I have nested layer groups whose depth is greater than 5 I get the following error message. "This document contains nested layer groups that may change in appearance if opened in applications older than Photoshop CS6".
I can click on "don't show this message again" before pressing ok, but can i disable it from showing somewhere in the application settings? I want to enable it sometimes and sometimes not.
- The "Reset All Warning Dialogs" button from Edit - Preferences - General is not very usefull because I want to keep other messages' settings, only this one should be affected.
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.
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.