VISRETAIN and viewports question

VISRETAIN and viewports question

santhoulakis
Advocate Advocate
1,786 Views
7 Replies
Message 1 of 8

VISRETAIN and viewports question

santhoulakis
Advocate
Advocate

Maybe quite basic, but how VISRETAIN works with viewport layers?

 

To illustrate my question, let's assume we have  Drawing A with a layer named "Walls" coloured green.

We xref this drawing to Drawing B. With VISRETAIN set to 0, I understand that no matter what colour we assign to "Drawing A/Walls" layer, everytime we reload the xref, "Drawing A/Walls" will be coloured green in the Model. 

 

But what is going on with the viewport colours in layouts? If we create a layout with a viewport in Drawing B where we set the "VP Color" of "Drawing A/Walls" to be say red, next time we reload the xref the layer "Drawing A/Walls" for that viewport will have Color set to Green and VP Color set to Red? Or what? 

0 Likes
Accepted solutions (1)
1,787 Views
7 Replies
Replies (7)
Message 2 of 8

cadffm
Consultant
Consultant

Why not testing, better to learn and faster.

Sebastian

0 Likes
Message 3 of 8

pendean
Community Legend
Community Legend
VISRETAIN simply controls XREF changes from appearing in your top file; nothing more and nothing to do with viewports.

When you turn it off, you're pretty much at the whim of the last person to save the XREF file. Pretty much your described problem.

Tap HELP and read all about VISRETAIN.

HTH
Message 4 of 8

santhoulakis
Advocate
Advocate

Just did.

 

Colours of Viewport are also following the source drawings' layer settings. Hence, in my previous question reply would be "The VP Colour will also become Green everytime the xref is reloaded".

 

Which makes VISRETAIN 0 practically useless for most of the cases.

 

I am almost sure, though, that at some point (maybe in Civil 3d 2019 or older) VP Colours used to override the source drawings' colours with VISRETAIN being 0? Or is it just wishful thinking?

0 Likes
Message 5 of 8

cadffm
Consultant
Consultant

If so, then it's really an OLDer version

https://forums.autodesk.com/t5/civil-3d-forum/visretain-and-viewports/td-p/2634553

 

 

Sebastian

0 Likes
Message 7 of 8

RobDraw
Mentor
Mentor

@santhoulakis wrote:

Which makes VISRETAIN 0 practically useless for most of the cases.


 

VISRETAIN 0 lets the XREF dictate the layer properties in the referencing drawing. If you don't want that, don't set it to 0.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 8 of 8

santhoulakis
Advocate
Advocate
Accepted solution

Just found out. VISRETAINMODE is the command to control which of the layers properties will synchronize or not when VISRETAIN is  set to 1: 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoC... 

0 Likes