Results 1 to 5 of 5

Thread: Viewports Layer States

  1. #1
    100 Club
    Join Date
    2004-12
    Posts
    126

    Default Viewports Layer States

    Is there a way to use Layer Management tools to capture the current status of all PS Viewports - which ones have what layers frozen/thawed?
    For example, I might want to have Layer "Hardware" frozen (not displaying) in Viewports 1, 3 and 5 but thawed (visible) in Viewports 2 and 4 for printing purposes when I send the drawings to one vendor.
    For another vendor, I might want to have layer "Hardware" frozen in vports 1 and 5, but thawed in 2-4.
    Thus, I would like to create a layer state, group filter, etc, something like this:
    Printing-Vendor_1
    Printing-Vendor_2

    Any help appreciated,
    Thanks
    Mike
    Mike Youla

  2. #2
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: Viewports Layer States

    There's no automatic way of doing this. It'll have to be some custom code in Lisp of such.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  3. #3
    100 Club sandeep_koodal's Avatar
    Join Date
    2007-10
    Location
    New Delhi & Kerala (God's Own Country)
    Posts
    171

    Default Re: Viewports Layer States

    hi mike,
    I think i understand what you want,
    You can create templates with the saved layer state, make one template wih vedor-1 laystate and next one with vendor-2 laystat.
    And insert the drawing to the template, all layers are with your settings on each viewport.
    and the other way is, you can import the layut from other templates or drawings with layer settings by right click on the layout tab.

  4. #4
    100 Club
    Join Date
    2004-12
    Posts
    126

    Default Re: Viewports Layer States

    Thank you - it does seem that code is the only solution. Autocad must store this information somewhere though because it knows how to dispaly all viewports correctly everytime the file is launched, so the info is there somewhere. Back to dotted pairs.
    Thanks,
    Mike
    Mike Youla

  5. #5
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: Viewports Layer States

    If it's simply that you have a few layout-layer setups per vendor. Maybe sandeepk's suggestion is the easiest: create a duplicate layout tab, then manually change the VP's there. Save the DWG ... that layout should now "remember" its layer settings ... so you can use it to produce the specific drawing for that one vendor, use the other for another vendor. You could have several of these layouts with different layer settings, simply change to the layout you wish to publish ... and voila!

    That lisp idea can effectively take more time, since the VP's layer settings are not so easy to get at. It's not exactly saved as: this VP is setup with that Layer State. Each and every Layer's VPFreeze (and for AC2008 and above its layer overrides as well) in a dictionary object linked to the VP. I've previously submitted a wish for a VP to be linked to a state instead (so you can change the state and all linked VP's change automatically) but nothings come of that wish yet .
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

Similar Threads

  1. 2011: Layer states in viewports
    By andy.239668 in forum ACA General
    Replies: 0
    Last Post: 2010-08-30, 07:57 PM
  2. Viewports and Layer States?
    By richard.kessinger.wc3 in forum AutoCAD Customization
    Replies: 4
    Last Post: 2010-01-25, 05:50 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
  •