Results 1 to 8 of 8

Thread: Changes to viewport layers revert on Xref reload

  1. #1
    Member aswartzell's Avatar
    Join Date
    2006-06
    Posts
    7
    Login to Give a bone
    0

    Question Changes to viewport layers revert on Xref reload

    Alright. Here's a tough one. Our sheet files are not retaining changes to referenced layers (i.e. freeze), as if visretain were set to 0, but it's set to 1!

    To put a sheet together, we typically make Model Space Views in view files using the Navigator, and then drag from the Navigator to paper space of the sheet file. Before we upgraded to AutoCAD Architecture 2008 (from ADT 2006), this worked fine--I could freeze layers in viewports, they would stay frozen. Now, any changes to referenced layers in the sheet file revert to the Xref's layer table as if visretain were set to 0 (but it's not).

    However, if, in the same sheet file, I detach that Xref, attach the same file manually in model space, make a new viewport in paper space, and then change referenced layers, it retains the changes like it's supposed to!

    Also, this is only a problem when the project is loaded in the navigator. For instance, if i open a sheet and then navigate to another project, then mess with layers and reload the Xref, the layers behave as I would expect them to.

    It seems clear that there's something going on behind the scenes when I put the model space view on the sheet, I just don't know what that is, and I'm hoping that it isn't some crazy bug that's totally out of my control. Any thoughts would be greatly appreciated.

    -Andrew
    Last edited by aswartzell; 2007-07-12 at 02:21 AM.

  2. #2
    ACA/AMEP Community Chair stelthorst's Avatar
    Join Date
    2003-10
    Location
    San Francisco CA
    Posts
    1,190
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    From a review of what's new in ACA 2008

    Projects - Views drive Sheets! This one is big. if you have ever spent a lot
    of time setting up a View file and then dragging to a sheet, and then later
    edit the view file's layers, or other display settings only to find that
    the sheet did not update, you will like this new project navigator option.
    Just turn it on and watch it work. Very nice. And it works exactly as you
    expect. if you change a view - boom, the next time the sheet opens it
    matches!
    There's probably a variable that will turn this off if you like. I'll check when I get to work tomorrow.

    Hope this helps,
    Scott Telthorst
    Quality Control Manager
    Helix Electric, Inc.
    www.helixelectric.com

    Some see the glass as half full, others as half empty. As an engineer I see the glass as twice as big as it needs to be. ~Unknown~

  3. #3
    Member aswartzell's Avatar
    Join Date
    2006-06
    Posts
    7
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    Thank you. I'll be eagerly awaiting your findings!

  4. #4
    ACA/AMEP Community Chair stelthorst's Avatar
    Join Date
    2003-10
    Location
    San Francisco CA
    Posts
    1,190
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    Quote Originally Posted by aswartzell
    Thank you. I'll be eagerly awaiting your findings!
    Hi Andrew,

    Check the VPLAYEROVERRIDES system variable. If it's set to 1 change it to 0.
    Scott Telthorst
    Quality Control Manager
    Helix Electric, Inc.
    www.helixelectric.com

    Some see the glass as half full, others as half empty. As an engineer I see the glass as twice as big as it needs to be. ~Unknown~

  5. #5
    Member aswartzell's Avatar
    Join Date
    2006-06
    Posts
    7
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    VPLAYEROVERRIDES is a read-only variable, but I tried toggling VPLAYEROVERRIDESMODE and that doesn't seem to make a difference. It's a good thought, though. Thanks!

  6. #6
    Member aswartzell's Avatar
    Join Date
    2006-06
    Posts
    7
    Login to Give a bone
    0

    Thumbs up Re: Changes to viewport layers revert on Xref reload

    Problem solved. There's an option in the Modify Project dialog box. If "Match Sheet View Layers to View" is set to "Yes", layers in viewports created with the Navigator will behave as if VISRETAIN is set to 0. I set it to "No", and my problem disappeared. See the attached screenshot if you're not sure where this is...
    Attached Images Attached Images

  7. #7
    ACA/AMEP Community Chair stelthorst's Avatar
    Join Date
    2003-10
    Location
    San Francisco CA
    Posts
    1,190
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    Thank you for posting the solution. I'm sure you have helped countless other people who have/will run into the same problem.

    Sorry I couldn't be more help. Even though I have 2008 loaded on my machine I am trying to finish up a project before I migrate to it.
    Scott Telthorst
    Quality Control Manager
    Helix Electric, Inc.
    www.helixelectric.com

    Some see the glass as half full, others as half empty. As an engineer I see the glass as twice as big as it needs to be. ~Unknown~

  8. #8
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Changes to viewport layers revert on Xref reload

    Quote Originally Posted by aswartzell
    Problem solved. There's an option in the Modify Project dialog box. If "Match Sheet View Layers to View" is set to "Yes", layers in viewports created with the Navigator will behave as if VISRETAIN is set to 0. I set it to "No", and my problem disappeared. See the attached screenshot if you're not sure where this is...
    This is a new feature added to 2008, based on the often requested ability to have the layer settings in the View file and the Sheet file stay synchronized. In previous versions, the initial layer settings in the Sheet file would match the view file when a view from a View drawing was dropped into a Sheet file. Many people noted that work often goes on long after that point, and many times the layer settings are changed in the View file during that subsequent work. Short of deleting the viewport, etc, in the Sheet file and recreating it, there was no way to automatically keep the layer settings in the View and Sheet files coordinated. [Setting VISRETAIN to 0 in the Sheet file, saving and reopening it would reset the layers back to the way they are in the source Construct or Element file, not the View file.]

    If that does not work with your workflow, then turn it off. But you might want to consider whether you want to adjust your workflow to take advantage of this new feature.

Similar Threads

  1. XREF layers revert back after closing dwg?
    By cadman33619 in forum AutoCAD Civil 3D - Survey
    Replies: 1
    Last Post: 2011-11-17, 01:55 PM
  2. Xref's - reload all
    By sjohnson.164173 in forum AutoCAD General
    Replies: 4
    Last Post: 2008-03-26, 10:06 PM
  3. DWG link - new layers - reload
    By fstafek in forum Revit Architecture - General
    Replies: 3
    Last Post: 2007-08-06, 04:14 PM
  4. Xref Layers do not retain their settings in a Viewport
    By csiress in forum AutoCAD General
    Replies: 1
    Last Post: 2006-08-24, 05:40 PM
  5. reload xref - layers
    By kca2.69080 in forum ACA General
    Replies: 2
    Last Post: 2004-06-02, 09:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •