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.


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
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!
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
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!
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
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!
http://cadtempo.blogspot.com Visit my Blog!







Registered forum members do not see this ad.
Volume and repetition do not validate opinions forged in the absence of thought.
Bookmarks