+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 33
  1. #1
    Senior Member
    Computer Details
    toberino's Computer Details
    Operating System:
    Windows 7 64 bit
    Computer:
    NZXT: NEMESIS CASE
    Motherboard:
    ASUS M4A87TD EVO
    CPU:
    AMD Athlon II X4 2.8 GHz (overclocked to 3.525 GHz)
    RAM:
    Crucial 2GB DDR3 (x4)
    Graphics:
    HIS Radeon HD 5450 1GB DDR3
    Primary Storage:
    WD Caviar Green (varible speed) 500 GB
    Secondary Storage:
    WD 500 GB
    Monitor:
    22" Acer Widescreen
    Discipline
    Architectural
    toberino's Discipline Details
    Occupation
    Structural Designer
    Discipline
    Architectural
    Details
    Architectural, Construction, Structural, Utilities, Surveying, GIS
    Using
    Architecture 2012
    Join Date
    Jul 2010
    Location
    Denver, Colorado
    Posts
    110

    Default Keep layers from being deleted or purged

    Registered forum members do not see this ad.

    Good afternoon!

    Is there a way to "lock" layers so that they cannot be deleted or purged from a drawing?

    I have a template with all titleblocks, layers, dim styles, and such, all set up. But since there are a small group of layers that are not actually used in the drawing or template they are "purgable" or "deletable". As far as I understand locking the layer locks the geometry to keep it from being edited so it will not work for what I am thinking.
    Does anyone know of a way to do this?

    Thanks,

    Nate

  2. #2
    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,138

    Default

    I can't think of a way to lock the layers in any manner that would prevent them from being deleted/purged from a drawing unless one of the lisp gurus here can think of something.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  3. #3
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,951

    Default

    The simple answer is to place 'something' on those layers to prevent them from being included in a standard purge.

    The more (perhaps overly?) complex answer would be to code yourself an Object Reactor that recreates the layer(s) programmatically if a user does purge the layer(s).
    "Potential has a shelf life." - Margaret Atwood

  4. #4
    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,138

    Default

    Devious...but very effective. Remind me not to get on your bad side Renderman.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  5. #5
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,951

    Default

    Quote Originally Posted by ReMark View Post
    Devious...but very effective. Remind me not to get on your bad side Renderman.
    Necessity is the mother of invention, my friend, and not my very, very, very dark side.

    Besides, methinks you'd enjoy the 'tech' you'd be equipped with, were we to work together. ... Here's a freebie.
    "Potential has a shelf life." - Margaret Atwood

  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,138

    Default

    If we worked together there would be chaos and mayhem. And that's just the good stuff.
    "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 Patrick Hughes's Avatar
    Computer Details
    Patrick Hughes's Computer Details
    Operating System:
    Win 2000
    Graphics:
    Quadro fx500
    Monitor:
    2x 1920x1080
    Discipline
    Mechanical
    Patrick Hughes's Discipline Details
    Occupation
    Self unemployed - Machine Design
    Discipline
    Mechanical
    Details
    Machine Design
    Using
    AutoCAD pre 2000
    Join Date
    May 2008
    Location
    Rockford, Illinois
    Posts
    588

    Default

    Quote Originally Posted by toberino View Post
    But since there are a small group of layers that are not actually used in the drawing or template they are "purgable" or "deletable".
    So, go ahead and purge or delete them. If you need them back at some point then insert the dwt and bam! there they are.
    www.cadtempo.com
    Time tracking for AutoCAD, Inventor, Revit and other CAD programs

  8. #8
    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 RenderMan View Post
    The simple answer is to place 'something' on those layers to prevent them from being included in a standard purge.
    .... like putting a line or a point for each layer you want to "protect" in a block, then nesting that block in the title block.

  9. #9
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,951

    Default

    Quote Originally Posted by nestly View Post
    .... like putting a line or a point for each layer you want to "protect" in a block, then nesting that block in the title block.
    One of the guys I do software development with (part-time, 2nd job), has a trick where he uses .NET to add anonymous blocks which cannot be exlploded.
    "Potential has a shelf life." - Margaret Atwood

  10. #10
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,135

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by nestly View Post
    .... like putting a line or a point for each layer you want to "protect" in a block, then nesting that block in the title block.
    I like that one nestly, not quite as nefarious as RendeMan's suggestion, the deviousness of which I find highly commendable. Or should I say inspired?
    Mightn't creating a saved view with LAYERSNAPSHOT be another way to go?
    Volume and repetition do not validate opinions forged in the absence of thought.

Similar Threads

  1. Checking if a Block can be Purged
    By Razoo in forum AutoLISP, Visual LISP & DCL
    Replies: 17
    Last Post: 30th Nov 2009, 11:56 pm
  2. why was my thread deleted?
    By BIGNewb in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 18th Apr 2009, 01:47 am
  3. How do I delete blocks from insert that cannot be purged?
    By barker in forum AutoCAD Beginners' Area
    Replies: 9
    Last Post: 3rd Dec 2008, 08:09 pm
  4. how do I get deleted file
    By bunty in forum AutoCAD Beginners' Area
    Replies: 6
    Last Post: 2nd Feb 2008, 02:25 pm
  5. Drawings deleted
    By Rhayes in forum AutoCAD Drawing Management & Output
    Replies: 5
    Last Post: 18th Jun 2007, 02:20 am

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