how to xref a dwg and keep a layer overrides/freezes of xref within it ?

how to xref a dwg and keep a layer overrides/freezes of xref within it ?

yairMSKTU
Enthusiast Enthusiast
2,571 Views
5 Replies
Message 1 of 6

how to xref a dwg and keep a layer overrides/freezes of xref within it ?

yairMSKTU
Enthusiast
Enthusiast

i have a dwg where i xrefed many things in it.   i need only 2 of them, which includes blocks, overides and frozen objects.

when i xref it and i do visretain 0 and xrefoverride 0 and i see on the layout it changes only some of them when i plot it on CTB,  but not all.

 

also some of the xrefs exist in both dwgs revisions (both are similar projects, but not the same),   some might have overides/freezes that the other dont have (though i cant be sure of it)

will a "second" xref will overide my existing xref (in the current project im working on)?

 

 

 

hope i was clear.   kinda hard to explain this.

 

 

 

EDIT:

in the meantime i isolated, purged, binded and saved as but i dont like this workaround.   it isnt very viable for future changes.

0 Likes
2,572 Views
5 Replies
Replies (5)
Message 2 of 6

Zlatislav.atanasov
Advocate
Advocate

Hi @yairMSKTU,
It sounds like you need different layer properties for xrefs and you want to switch between those properties.
I would suggest trying to use Layer States, it should do the trick,
you could have a layer state for the different viewports (if you are using layouts and viewports) and switch between desired states.
Check more detailed explanation I have written in AutoCAD Layer States 


My personal blog - AutoCAD and AutoCAD Civil 3D hidden Secrets and great tips in one place -

https://skillamplifier.com/

Amplify your skills to a new level!

0 Likes
Message 3 of 6

Valentin_CAD
Mentor
Mentor

@yairMSKTU ,



Consider providing us a Screencast for a visual.  

Show us what you have and what you want.

 

You may need to adjust the value for VISRETAIN and XREFOVERRIDE.

Something like: VISRETAIN = 1   and  XREFOVERRIDE = 0.

 

Other links:

 



Select the "Mark as Solution" if my post solves your issue or answers your question.

Seleccione "Marcar como solución" si mi publicación resuelve o responde a su pregunta.


Emilio Valentin

Message 4 of 6

cadffm
Consultant
Consultant

Hi,

 

You talked about CTB, but what have a ctb plotstyle to do with your question?

I am wrong with my statement that you have the problem visible in your dwg also?

So there is no need to talk about ctb and plot?

Many useres here knowing how all these things works,

but your information is not clear enough (for me).

 

We don't know sure how your dwg/xref structure is.

Which file

is reference to which file,

with what reference name,

as override or attachment.

 

And what you want is also not 100% clear.

 

But for Visretain=0 (in your master file) it is simple to say how it should acting now:

All xref layerproperties (like color or freeze) are controle by your source files, means from inside the source DWG.

Also if you xrefd them into another DWG and you attach is file to your Master.

 

 

Create the small sample, the smallest sample what is possible to show your current situation 

and where you can explain what you want to have.

Files with just two layers and some circles are good enough.

 

 

Sebastian

0 Likes
Message 5 of 6

yairMSKTU
Enthusiast
Enthusiast

in the master of project A there are 8 xrefs.    they have overrides and freezes.

in project B there are 6 xrefs that exist in project A,  but with different overrides/freezes.

only 2 of the xrefs in A need to be exactly the same as in B (they have overrides and freezes that i need to keep).    but they either dont exist in B or have different overrides.   so i need to change/add them.

 

i can just xref the master file of project A,  but it will take everything from it instead of just the two i need.

if i xref from original file, i will lose the work from project A and any future change on the master would not affect both works

if i xref master A, it will carry everything within it,  including the xrefs and layers i dont want to carry.  , i will lose all of my existing overrides and freezes (i think, not sure, correct me if im wrong).  

can i just xref the master file,  and take from it only the 2 xrefs/the layers that i need ?  so it wont change my new master,  just add/replace the 2 i need.

 

 

its hard to explain it.   if you still dont understand i will create something new (but i have to do it during my break...)

0 Likes
Message 6 of 6

yairMSKTU
Enthusiast
Enthusiast

read it.    looks like it is something i can work with.

the problem is,     that it will affect the layers i dont want to touch.  it will also not carry on changes on future revisions.

0 Likes