FREEZE XREF LAYERS IN VIEWPORTS

FREEZE XREF LAYERS IN VIEWPORTS

Kyle.para
Advocate Advocate
13,123 Views
8 Replies
Message 1 of 9

FREEZE XREF LAYERS IN VIEWPORTS

Kyle.para
Advocate
Advocate

Hi I have multiple viewports that use the same XREF.

 

I have the same layers on the drawing that is on the original XREF drawing.  As we all know when the XREF is imported it adapts it's own XREF layers.

 

Is there anyway to make the xref VP freeze off of the original layers? Or is the only way to accomplish what I am after by VP freezing the XREF's imported layers?

 

Thanks,

0 Likes
Accepted solutions (1)
13,124 Views
8 Replies
Replies (8)
Message 2 of 9

pendean
Community Legend
Community Legend
VPFreeze settings are per viewport, and XREF command never touches layouts or viewports in those layouts, so yes, you have to address it in each viewport in the top file.
0 Likes
Message 3 of 9

Kyle.para
Advocate
Advocate

Yes I understand I need to freeze each viewport separately.  What I want to know is if there a way to freeze the original xref layer or do you have to freeze the xref'd layer?  I have the exact same layers in my xref and my working file.

0 Likes
Message 4 of 9

Anonymous
Not applicable

If you want the XREF layers to match the source file settings turn off VISRETAIN.

Message 5 of 9

Anonymous
Not applicable

@Kyle.para wrote:

 I have the exact same layers in my xref and my working file.


The layers might be named the same in the individual files, but they are not the same layers.  I'm not real sure what your asking.  In a file with an XREF there are two layers, one is named DOOR, the other layer is named XREFFILENAME|DOOR, they aren't the same, you have to control them separately in the target file.  If you turn off VISRETAIN, the layers will maintain the settings (on/off/freeze/thaw/color/linetype/etc.) they have in the source file (XREFFILENAME.dwg)

0 Likes
Message 6 of 9

john.vellek
Alumni
Alumni

Hi @Kyle.para,

 

If I understand your question, the likely solution is to control all the layer settings in the xref file. Then in the host file set Visretain=0 which turns off the host settings on the xref. Every time you load the XREF, it should hold onto the settings you had created in the xref file.

 

Here is an article that describes a bit more about visretain.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 7 of 9

Kyle.para
Advocate
Advocate

Yes that's exactly what I want it to do. I tried turning visretain off, but it doesn't seem to work for freeze on the viewports. 

 

I have the exact same viewports in both the xref and host file.

 

So I guess I will have to turn those off again on the xref layer correct?

0 Likes
Message 8 of 9

john.vellek
Alumni
Alumni
Accepted solution

Hi @Kyle.para,

 

Yes, when you are in the host file and doing this action in the viewport it is only for the host file and will not be retained when you reload the xref.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 9 of 9

Anonymous
Not applicable

VIEWPORT layer controls are for that viewport only and they don't follow an XREF to the host file.

0 Likes