Results 1 to 9 of 9

Thread: Variable or function to list frozen layers in the current viewport

Hybrid View

  1. #1
    Member
    Join Date
    2005-01
    Posts
    40

    Question Variable or function to list frozen layers in the current viewport

    Hi Everyone-
    Is there a variable or a function that will tell you if a layer is frozen in the current view port? I'm looking to list just the frozen layers in the current view port not the globally frozen layers and then write them to a text file. I know that vplayer will list them however I don't know if you can write that list to a file or assign it to a variable. Thanks in advance.

    jsowinski

  2. #2
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,520

    Default Re: Variable or function to list frozen layers in the current viewport

    Without customization, I'm afraid the best you can do is create a layer filter to display only CurVP frozen layers and print that out.

    If you can use a bit of code.... Take a look at this post - it lists THAWED layers per viewport, but could easily be modified to list FROZEN layers.

  3. #3
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    482

    Default Re: Variable or function to list frozen layers in the current viewport

    Use entget on the viewport entity there will be a DXF code 331 in the return data for each Frozen layer( this will be an Entity name) use this Entity name with entget to get the layer data DXF code 2 will be the layer name.
    Note:
    update to 2011
    I am using ADT 2007 08/06/2008

    PS. If you use any Code I post or Down Load Attachment I would like to know if it was helpful. So please post reply to this thread, on how you use the code or down load. Thank You

  4. #4
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: Variable or function to list frozen layers in the current viewport

    Quote Originally Posted by jwanstaett
    Use entget on the viewport entity there will be a DXF code 331. . .
    Better try DXF code 341


    : ) Happy Computing !

    kennet

  5. #5
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    482

    Default Re: Variable or function to list frozen layers in the current viewport

    Quote Originally Posted by kennet.sjoberg
    Better try DXF code 341


    : ) Happy Computing !

    kennet
    sorry it is 341
    Note:
    update to 2011
    I am using ADT 2007 08/06/2008

    PS. If you use any Code I post or Down Load Attachment I would like to know if it was helpful. So please post reply to this thread, on how you use the code or down load. Thank You

  6. #6
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: Variable or function to list frozen layers in the current viewport

    Quote Originally Posted by jwanstaett
    sorry it is 341
    No problem, just take care. . .

    : ) Happy Computing !

    kennet

Similar Threads

  1. Layers frozen in viewport after placing view
    By c.ridder in forum Project Navigator
    Replies: 0
    Last Post: 2010-03-25, 10:43 AM
  2. Frozen Viewport Layers Not Saving
    By bradg in forum AMEP General
    Replies: 3
    Last Post: 2008-07-16, 12:59 PM
  3. Viewport creation and frozen layers
    By cwjean76 in forum AutoCAD General
    Replies: 3
    Last Post: 2008-07-10, 06:00 PM
  4. FROZEN IN CURRENT VIEWPORT
    By philw in forum AutoCAD General
    Replies: 2
    Last Post: 2007-11-17, 10:42 AM
  5. Frozen Xref layer(s) in current viewport do not retain their setting
    By linda.s.parsons in forum AutoCAD General
    Replies: 3
    Last Post: 2005-12-06, 08:47 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
  •