I made an autocad file. with many xref files. there are layers. and the layers are all the same, only the name for the layer its the name of the xref link . but how can i turn it off at once. how can I fix this?
Hello from France
Welcome to the Autodesk/AutoCAD forums !
Not sure to well understand your question !?
Do you mean that you have many XREF with many layers which have the same name in each XREF ?
And you want to switch on/off, change color, etc quickly on ALL these layers ?
Bye, Pat
Patrice BRAUD
Options:
1) Create a layer filter (in the layer dialog). Then you can group layers of like internal layer name and control the properties by group.
2) Use the command line version of the layer command to turn layers on or off
Example: -layer on *mylayername
Hello Dbroad
+1 : your answer is exactly what I was thinking of ...
But I was waiting for the confirmation !
Bye, Pat
Patrice BRAUD
that can work but i have 200 diffrent layers.
so i must make 200 diffirent command.
is there no better solution
yeah i know i must do lay off but i need to do this a lot 30 layers in 24 xrefs
Create one layer filter with multiple filter definitions
EX:
*|*-door
*|*-window
*|*-eqpm
I think you get the idea, find things that are common among all or many of the layers and keep adding filter definitions in a single layer filter.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
You're not quite getting it.
-layer off *layer1,*layer2,*layer3,*layer4.......
One command, hundreds of layers controlled by groups.
The layer filter approach using the layer dialog is a way to save the layer filters. As Grant said, you can also include the filter this way *|*layer1,*|*layer2.... but that is not usually necessary unless you have lots of very similarly named layers.