+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Newbie
    AutoCAD LT 2018
    Join Date
    Sep 2017

    Default layer states in viewports bugged after loading a drawing

    Registered forum members do not see this ad.

    In my drawing, i want to use different layer states in different viewports. In these layer states i want
    - certain layers frozen.
    - certain layers have their colour changed to grey.
    - certain layers unchanged, so that they stand out when plotted in colour.

    So i made my layer states, and made a layer state 'all layers on'. I set model space to 'all layers on' and set the different viewports to my different layer states.

    so far so good, and everything works well. Then i save, quit en load the drawing, and the viewports are no longer showing in a correct way.
    The frozen layers are still frozen, but some of the layers that should be grey, are back to their original colour.

    This is annoying, because other people (who don't know layer states) have to be able to open these drawings and plot them.

    Can anyone help me with this?

    PS : i know i could have the same result with plot styles or with viewport overrides, but i need this to work with layer states.
    PPS : autocad version is 2018LT

  2. #2
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO 64-bit
    IBM Lenovo
    ACPI x64
    Pentium(R) i5 4570 @ 3.2GHz
    8 GB RAM
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    2x ThinkVision 24"
    SLW210's Discipline Details
    Design Draftsman
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    AutoCAD 2018
    Join Date
    May 2007
    South Florida, USA


    Registered forum members do not see this ad.

    From AutoCAD Help

    Save Layer Property Override Settings

    When layers contain viewport property overrides, those settings are saved to a layer state when the viewport that contains overrides is active.

    If the layer state is saved from model space, any layer property override settings are not included. This is because only one value can be saved for each layer property in a layer state. If layer property overrides need to be saved in the layer state, make the viewport active on the layout tab and then save the layer state.
    Restore Layer Settings

    When you restore a layer state, the layer settings (layer states and layer properties) that were specified when the layer state was saved are restored. You can specify specific settings to restore in the Layer States Manager. The layer property settings that are not selected remain unchanged in the drawing.

    If the drawing contains layers that were added since a layer state was saved, you can add those layers. By editing the layer state and using the Select Layers to Add to Layer State dialog box you can select the layers you want to add to the layer state.

    NoteTo be notified when new layers are added to the drawing, use the LAYEREVAL and LAYERNOTIFY system variables.

    When restoring layer states, the following additional behaviors can occur
    •When restoring a layer state, the layer that was current when the layer state was saved is made current. If that layer no longer exists, the current layer does not change.
    •If a layout viewport is active when a layer state is restored, and the Visibility in Current VP restore option is selected, all layers that need to be visible in the viewport are turned on and thawed in model space. All layers that should not be visible in the viewport are set to VP Freeze in the current viewport and the model space visibility is unchanged.

    The Layers panel on the RIBBON contains controls for selecting and restoring saved layer states, including a button to access the Layer States Manager. The name of the last restored layer state is displayed in the Layers panel. When the layers are modified so that the current layer state is no longer current, “Unsaved Layer State” is displayed instead of the name of the last restored layer state.

    Restore Property Override Settings

    When the Apply Properties as Viewport Overrides restore option is selected in the Layer States Manager, viewport overrides are restored to the viewport that is current at the time the layer state is restored.

    When a layer state is saved in model space and is restored in paper space,
    •You can choose whether color, linetype, lineweight, transparency, or plot style properties are restored as viewport overrides.
    •Viewport overrides are applied to the current layout viewport.
    •Layers that were turned off or frozen in model space are set to VP Freeze in the Layer Properties Manager for the active layout viewport.

    When a layer state is saved in paper space and is restored in model space,
    •Layer property overrides are restored as global layer properties in model space.
    •Layers that were frozen in a layout viewport are also frozen in model space.
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler

Similar Threads

  1. Multiple viewports and multiple layer states
    By VBG-FSDG in forum AutoCAD Drawing Management & Output
    Replies: 7
    Last Post: 15th Feb 2018, 04:05 pm
  2. Thaw Layer in all viewports in drawing
    By kc27315 in forum AutoCAD Drawing Management & Output
    Replies: 21
    Last Post: 30th Dec 2014, 03:11 am
  3. How to copy viewport to other layout/drawing with saved layer states ?
    By kruuger in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 8th Dec 2012, 08:38 am
  4. Layer States & Viewports
    By in2light in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 21st Feb 2010, 01:23 am
  5. Autocad LT 2009: X-ref layer states / Layer states manager
    By Mako in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 6th Nov 2008, 04:24 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