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
ADVERTISEMENT
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
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
Feb 11, 2011
I am referencing a survey file in my site plan. Both were created using Civil 3D. I want to change the color of all of the reference files' layers to 250, so I selected them all in the layer properties manager and did so.
However, some layers are not changing colors. One layer is red in the reference file, but comes through on the site plan as magenta. Some Civil3D structures are also refusing to change colors.
I selected all of the objects in the reference file and made sure their colors were "by layer," but it did not completely fix the problem.
View 7 Replies
View Related
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
Nov 10, 2011
Using (setq Filetab (vla-get-files (vla-get-preferences (vlax-get-acad-object))))(vlax-dump-object Filetab) returns most pathname as specified under Options. However, the Action Recorder path is missing. How do I retrieve this path?
View 1 Replies
View Related
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
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
Jan 30, 2012
How do i change color inside blocks on my xref? (much of the orginal file is builded in blocks). I need to have everything in color 8 (grey).
On attached pictures
The red, cyan and green is blocks on the orginal file.
View 2 Replies
View Related
Dec 4, 2013
I have a drawing containg wall elements that is referenced into a whole bunch of other drawings (roughly a hundret).
In the wall-drawing i recently set the walls color to "by layer" via the display properties in style manager.
Unfortunately they keep their old color in the other files. I tried visretain and it didn't do the trick.
View 6 Replies
View Related
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
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
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
Aug 22, 2012
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
[Code]...
HP Elitebook Workstation
Windows 7
View 6 Replies
View Related
Jan 11, 2013
I setup a dwg with all of my annotations sized just right for model and paper, but when I XREF them to my dwg that has all of my sheets to plot. The points look the same on my model tab, but when I go to layout the points are huge. I then made sure I had the same styles and drawing settings in both dwgs.
AutoCAD Civil 3D 2012 SP4
Windows 7 (64)
View 2 Replies
View Related
Mar 14, 2012
I have a block tha I use in a point label style. All of the block entities are on layer 0. The label style is also set to layer 0 so that it get on the same layer as the point. I've tried setting the block color in the label at by layer and by block. When a drawing that contains this label style is XREF'ed into another drawing, the block in the label always takes on the color of the current layer.
C3D 2011, Version 3
edit: I attached an example. The top figure is the point with the block in the label and the bottom is just the block itself.
View 3 Replies
View Related
Jan 31, 2013
Why do our feature lines all come in as the color white when xreffed into a drawing? Feature lines show up just fine in our topo drawing, so then we xref it into our design drawing and they all show as if the color is white when is is not in the layer properties. All other items (symbols, points, and lines) come in as the color they were drawn in the topo drawing.
View 3 Replies
View Related
Nov 20, 2012
I will be working on a project soon where I will have to change the fill color and header overlay for about 128 images. I know how to create an action to change the header, but I don't know how to make one that changes the fill color. I have a list of each hex code for each image on a spreadsheet. Is there anyway i could create an action to read the information from that and create each image accordingly?
I would do it by hand, but I anticipate getting several projects of this type in the future, so I would like to automate as much as I can!
View 1 Replies
View Related
Oct 17, 2013
We are using Civil 3D 2014.
We have an alignment curve table and the data text, first data entry (curve number) is appearing as color by layer (magenta), when all colors are set as explicit colors by element in table style under Display tab. How do I control the color of the first entry to be color by element instead of by layer?
View 3 Replies
View Related
Aug 12, 2005
layer manager not keeping your color selection the first time when you attempt to change the color of a layer? I have not repeated the experience enough to know the particular situation under which this happens but the result is the same. I open layer manager, click the color swatch to bring up the color selector and select a color, select ok and ok. When I look at the layers color it did not change. It seems to happen most on newly created layers.
View 6 Replies
View Related
Jan 8, 2014
Somehow I've turned off the color selection so that I don't have a color when I select a part of a drawing on a layer. The drawing area stays black whether I have selected it or not and I don't know how to turn back on the color.
how I can turn on the color again so that when I select a line it changes from black to red or magenta or whatever?
View 3 Replies
View Related
Oct 9, 2009
How to globally change text color to by layer in autocad 2008.
View 9 Replies
View Related
Sep 11, 2013
How to change the VP (viewport) color of a layer by script or if its even possible.
View 7 Replies
View Related
Jun 19, 2013
I've read this post:
[URL]
Everything works fine, but I have one problem.
I just want to change colors for all objects in current model space. But this command also changes attributes/blocks definitions (I mean, any new block which I insert has the color that I specified previous).
Where I have to change the code?
View 4 Replies
View Related
Nov 17, 2011
In AutoCAD 2009 is there a way to make a leader line change color with per the layer it is on?
View 3 Replies
View Related
Jan 15, 2013
I am not able to change the color of a layer in one of my drawing files. When I make a new layer in the drawing file it is the same color as the layer above it (as it should be) but I am unable to change the color in the new layer either.
I can change colors in other drawing files on this computer. The color of a layer can be changed if I open the drawing file on another computer.
If the drawing is "save as" to a new file name and the new drawing is opened, it still will not change the color of a layer.
If the drawing is "save as" on the computer that will allow the color to be change and opened on this computer it will not allow the color of the layer to be changed.
View 2 Replies
View Related
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
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
May 21, 2003
I am looking for a lisp routine to search the layer table to find a particular layer color and change color.
View 9 Replies
View Related
Sep 24, 2013
I want to change all pline in drawing to a specific object color (color 253). My code is not working & my brain is not functionning properly today...
(DEFUN C:TR() (SETQ ALL_PLINE_IN_DRAWING (ssget "_X" '((0 . "LWPOLYLINE")))number_of_pline_in_dwg (sslength ALL_PLINE_IN_DRAWING)entity (ssname ALL_PLINE_IN_DRAWING 1)data (entget entity)new_LAYER (list(cons 62 253))data (append new_LAYER data))(entmod data));END OF DEFUN
View 8 Replies
View Related
Mar 27, 2010
I want a lisp to change all object colours from bylayer to its color Example (if layer doors its color is blue the color of objects drawn in this layer will by blue not bylayer)
View 9 Replies
View Related