+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Junior Member michael256's Avatar
    Using
    AutoCAD 2011
    Join Date
    Apr 2010
    Location
    Toronto
    Posts
    18

    Default Layers not being used

    Registered forum members do not see this ad.

    I have a drawing that has many layers in it. many of witch are not being used. Is there a way to quickly find out which layer are not being used in the drawing so i can delete them?

  2. #2
    Super Member
    Computer Details
    nestly's Computer Details
    Operating System:
    Windows XP Professional (32bit)
    Motherboard:
    Intel DG33FB
    CPU:
    Intel Core2 E2220 @ 2.4GHz
    RAM:
    4GB DDR2 6400
    Graphics:
    ATI Firepro 5800
    Primary Storage:
    250GB WD 7200rpm / 320GB WD 7200rpm
    Secondary Storage:
    500GB WD external USB
    Monitor:
    Samsung 26" @ 1920x1200 + LG 22" @ 1680x1050
    Using
    AutoCAD 2011
    Join Date
    Sep 2010
    Posts
    1,895

    Default

    If a layer is truely not being used, it will be displayed as a layer that can be purged using the PURGE command.

  3. #3
    Forum Deity rkent's Avatar
    Computer Details
    rkent's Computer Details
    Operating System:
    WIN7 PRO 64bit
    Computer:
    Dell Precision T7500
    CPU:
    Xeon Dual Core E5503 2.0Ghz
    RAM:
    6GB DDR3 ECC SDRAM, 1333MHz, 6x1GB
    Graphics:
    nVidia Quadro 3800
    Primary Storage:
    300Gb, 10K rpm
    Monitor:
    Dell 24" FS (2x)
    Discipline
    Mechanical
    rkent's Discipline Details
    Occupation
    Facilities Design - Semi-conductor manufacturing
    Discipline
    Mechanical
    Details
    Designer: Process Piping, P&ID's, Machine Part Design, Planning / General Arrangement. Facilities Management. Drafting: Electrical, Controls, Architectural.
    Using
    Mechanical 2014
    Join Date
    Nov 2007
    Location
    Lat:35, Long:-106, Elev: 5164'
    Posts
    3,375

    Default

    Open the layer manager, the first column is Status, if it is grey it is not being used, if it has a color, mine is light blue, then it is being used. You can pick on the Status header and sort by used and not used.
    "You are entitled to your own opinion but you are not entitled to your own facts." Daniel Patrick Moynihan

  4. #4
    Super Member
    Computer Details
    nestly's Computer Details
    Operating System:
    Windows XP Professional (32bit)
    Motherboard:
    Intel DG33FB
    CPU:
    Intel Core2 E2220 @ 2.4GHz
    RAM:
    4GB DDR2 6400
    Graphics:
    ATI Firepro 5800
    Primary Storage:
    250GB WD 7200rpm / 320GB WD 7200rpm
    Secondary Storage:
    500GB WD external USB
    Monitor:
    Samsung 26" @ 1920x1200 + LG 22" @ 1680x1050
    Using
    AutoCAD 2011
    Join Date
    Sep 2010
    Posts
    1,895

    Default

    Quote Originally Posted by rkent View Post
    Open the layer manager, the first column is Status, if it is grey it is not being used, if it has a color, mine is light blue, then it is being used. You can pick on the Status header and sort by used and not used.
    I can't say for certain about AutoCad2010, but I believe that feature is disabled by default (ie all layers show light blue, whether they're used or not)
    SHOWLAYERUSAGE = 1 via the command line, or the checkbox in the Layer Properties Options dialog box to enable it. I think it's "Off" by default because it's a resource hog.

  5. #5
    Forum Deity rkent's Avatar
    Computer Details
    rkent's Computer Details
    Operating System:
    WIN7 PRO 64bit
    Computer:
    Dell Precision T7500
    CPU:
    Xeon Dual Core E5503 2.0Ghz
    RAM:
    6GB DDR3 ECC SDRAM, 1333MHz, 6x1GB
    Graphics:
    nVidia Quadro 3800
    Primary Storage:
    300Gb, 10K rpm
    Monitor:
    Dell 24" FS (2x)
    Discipline
    Mechanical
    rkent's Discipline Details
    Occupation
    Facilities Design - Semi-conductor manufacturing
    Discipline
    Mechanical
    Details
    Designer: Process Piping, P&ID's, Machine Part Design, Planning / General Arrangement. Facilities Management. Drafting: Electrical, Controls, Architectural.
    Using
    Mechanical 2014
    Join Date
    Nov 2007
    Location
    Lat:35, Long:-106, Elev: 5164'
    Posts
    3,375

    Default

    Quote Originally Posted by nestly View Post
    I can't say for certain about AutoCad2010, but I believe that feature is disabled by default (ie all layers show light blue, whether they're used or not)
    SHOWLAYERUSAGE = 1 via the command line, or the checkbox in the Layer Properties Options dialog box to enable it. I think it's "Off" by default because it's a resource hog.
    2012 and 2013 it must be set to 1 by default because I don't have it set to 1 anywhere. Good to know it is a resource hog, I will turn it off and only back on for the times I need that, or just turn the column display off when not needed.
    "You are entitled to your own opinion but you are not entitled to your own facts." Daniel Patrick Moynihan

  6. #6
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,137

    Default

    Stubborn layers that just won't go away using the PURGE command can be deleted using Layer Delete found under Format > Layer Tools or via the command line using LAYDEL.

    You could also use the Layer Merge command as well.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  7. #7
    Super Member
    Computer Details
    nestly's Computer Details
    Operating System:
    Windows XP Professional (32bit)
    Motherboard:
    Intel DG33FB
    CPU:
    Intel Core2 E2220 @ 2.4GHz
    RAM:
    4GB DDR2 6400
    Graphics:
    ATI Firepro 5800
    Primary Storage:
    250GB WD 7200rpm / 320GB WD 7200rpm
    Secondary Storage:
    500GB WD external USB
    Monitor:
    Samsung 26" @ 1920x1200 + LG 22" @ 1680x1050
    Using
    AutoCAD 2011
    Join Date
    Sep 2010
    Posts
    1,895

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by rkent View Post
    2012 and 2013 it must be set to 1 by default because I don't have it set to 1 anywhere. Good to know it is a resource hog, I will turn it off and only back on for the times I need that, or just turn the column display off when not needed.
    The System Variable Editor ( SYSVDLG ) says the initial value for SHOWLAYERUSAGE is 0 (Off) in 2011 thru 2013, but it is turned ON in my 2013 and I don't recall changing it, so I'm not so sure about my previous statement now.

Similar Threads

  1. A button macro to Thaw frozen layers and Freeze thawed layers
    By YZ in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 17
    Last Post: 31st Jul 2012, 07:23 am
  2. Rename layers and/or combine entities on those layers onto a new layer lisp
    By kam1967 in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 1st Jun 2011, 02:17 am
  3. Replies: 2
    Last Post: 19th Jul 2010, 06:42 pm
  4. Need help with Layers
    By kanewtz in forum AutoCAD General
    Replies: 3
    Last Post: 19th Aug 2008, 01:33 pm
  5. overwriting existing layers with imported layers
    By Dro in forum AutoCAD Drawing Management & Output
    Replies: 9
    Last Post: 28th Jul 2008, 12:47 pm

Bookmarks

Posting Permissions

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