All,
I have a situation where I have cut sheets to separate drawings and know I want to change the way a single layer looks in all the drawings. Its quicker to change the layer manually than to import a layer state, but there has to be a quicker way. It seems I have this same battle often. Any help is appreciated.
Look into "Adcenter", I believe there is an easy way of migrating layer settings there.
Just type it into commandline.
Hope it helps.
No xrefs involved, just the same layer name in each separate drawing?
What layer properties do you want to change?
My current drawing hiarchy is
(1) DWG with Many Xrefs as atached.
(2) Drawings that xref the above drawing and have titleblocks. Each titleblock has its own drawing.
The main problem is I am using my template, but ahve been asked to use someone elses plot style. I printed a drawing with all there line thickness and set my layers as my engineers asked. after creating all the sheets they keep changing the thickness they want the lines to be.
Design center allows me to bring in layers that are not there, but if it is there it ignors the def.
I have a layer that is color 9 and I want change it to 3 in 17 drawings.
For full disclosure, I have already fixed this drawing, but because we work for many clients I find myself doing this often and am hoping there is a better way.
(1) Make the layer color change in your xrefs, set VISRETAIN to 0 in the parent drawing and reload the xrefs.
If that is not an option because you don't want to inherit *other* layer changes, then.....
(2) I would create a one line lisp function like this and add it to my "acaddoc.lsp". Each time a drawing is opened, the layer will be updated.
(vl-cmdf "._layer" "_C" "12" "0" "")
(3) Lastly, if you want to make the change w/o opening each drawing, you could look into using the Core Console to do this.
Mark Green
Working on Civil 3D in Canada
To add to RKMcSwain's suggestion #2:
If you prefer not to (or can't, for some reason) modify your "normal" acaddoc.lsp file (assuming you have one), or if you don't have one to modify, you can create a unique, single-purpose acaddoc.lsp, containing just the one line of code, and place it in the folder where the dwgs are located. When you open one or more of those dwgs from that folder, AutoCAD will detect and run that acaddoc.lsp first. If you should need to disable the code, simply rename the file and it won't run automatically. I've done this either by replacing a character (e.g. change the first "a" to a "b"), or by adding a .TXT extension. (Be sure to have file extensions visible in your Windows Folder View settings.)
Can't find what you're looking for? Ask the community or share your knowledge.