| Author |
Message |
Tom Smith
Guest
|
Posted:
Fri Dec 03, 2004 11:07 pm Post subject:
Re: NOT purging layers |
|
|
| Quote: | Reducing file size is not the only reason to purge a drawing.
|
We're kind of weaving around the original topic. I was replying to a post
about "hard purging" when archiving a finished project. At that point in
time, usability issues don't really matter, and file size would seem to me
to be the only real issue.
I also referred to in-progress purging issues we have had. Some of our
users, working on very large drawings, had a tendency to copyclip and paste
vast amounts of stuff, grossly inflating their file sizes with temporary
blocks. When performance slowed to a crawl, they were prone to hit the purge
"all" button, for simplicity, and this had some very undesirable side
effects. Such as the file corruption bug I mentioned, and the elimination of
standard layers that hadn't been used yet. Thus I advised them to restrict
their purging to blocks only. This fixes the size/performance problem
without causing fresh problems. The purge bug seems to have gone away in
A2K4 but I haven't seen a reason to change my advice.
| Quote: | I personally would rather not sift through 200 layers in the dialog box
when only 40 are used. Same with dimension styles, text styles etc. |
As I said in an earlier post, we don't have that issue. Our template
"contains all of out standard layers (just over 40), a couple of text
styles, the few linetypes we use, our two dimstyles, and so forth." In the
final analysis, there are never more than 5 or 6 layers to purge anyway, if
that. The other items are nearly always used, though once in a while there
might be a single purgeable linetype. So sifting through stuff isn't a
problem for us.
Different folks have different needs. We're lucky in that our setup is
blissfully simply. I understand that having too much unused clutter in a
drawing makes it unworkable. But bear in mind, the original question came
from someone who WANTS to preserve the layers he hasn't used yet. I'd assume
that he also has a relatively simple layering system.
I'd think that if you're routinely creating drawings in which 80% of the
layers aren't needed, and the same is true of other table entry items, then
maybe a different approach might be in order. That would seem pretty
cumbersome to me too. But there's still the question, how do you know when
you've used every layer you're going to need, so it's safe to purge all the
others?
There have been a number of threads on the same subject, and one person has
repeatedly trumpeted an ObjectDBX system whereby you can import from a
master file only the set of layers which you need in your present drawing.
There's a demo in the CF group. It's all too complicated for me, since I
have no need of such a thing, but sounds like it would be useful for those
that do.
|
|
| Back to top |
|
 |
Cad Dept
Guest
|
Posted:
Sat Dec 04, 2004 2:24 am Post subject:
Re: NOT purging layers |
|
|
I forgot were I learned about CDGpurge but I found the following at
http://new.cadalyst.com/newsline/issue.cfm?issue=200241
It works great and I highly recommend it.
9. TOOL HELPS WITH DRAWING CLEANUP
The August and September AutoCAD Clinic discussed how to purge unwanted
layer filters. Joel Roderick wrote in with his solution, CDG Purge,
which removes all layer filters, layer states, page setups, and
unreferenced registered applications, using a dialog similar to the
standard AutoCAD purge command. CDG Purge is free with no restrictions at:
http://www.caddevelopmentgroup.com/downloads/CDGPurge11_Install.exe
andy drafter wrote:
| Quote: | I'd like to be able to purge an entire drawing without deleting layers that have no objects. These layers may be used later in the drawing and I don't want to have to retype in layer names etc.
I know I can be selective and not delete certain layers when purging but I'm wondering if there is a way to set up a drawing with protected layers so you can't delete them when you "purge all" even if they don't have objects. |
|
|
| Back to top |
|
 |
spectrefish
Guest
|
Posted:
Wed Dec 08, 2004 8:35 pm Post subject:
Re: NOT purging layers |
|
|
Why not purge your drawings then just drag and drop the layers you need from the design center? Seems a lot easier to me.
|
|
| Back to top |
|
 |
andy drafter
Guest
|
Posted:
Wed Dec 08, 2004 8:40 pm Post subject:
Re: NOT purging layers |
|
|
| I was recently turned on to that. I had not been using design center. I suppose you mean to drag the layers from another file that has my standard layers already-or a template file? |
|
| Back to top |
|
 |
spectrefish
Guest
|
Posted:
Wed Dec 08, 2004 8:44 pm Post subject:
Re: NOT purging layers |
|
|
| Yes that is exactly what I mean. I have a drawing set up that has all of my layers, dimstyles, tablestyles, linetypes, etc. and all I need to do is drag and drop. Takes but a split second to get what I need. |
|
| Back to top |
|
 |
Dave Jones
Guest
|
Posted:
Wed Dec 08, 2004 9:12 pm Post subject:
Re: NOT purging layers |
|
|
"spectrefish" <nospam@address.withheld> wrote in message
news:2417171.1102520723586.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Yes that is exactly what I mean. I have a drawing set up that has all of
my layers, dimstyles, tablestyles, linetypes, etc. and all I need to do is
drag and drop. Takes but a split second to get what I need.
|
open ADC
assuming your template drawing is open
click on Layers, select the ones you want...drag and drop
click on Dimstyles, select the ones you want...drag and drop
click on Tablestyles, select the ones you want...drag and drop
click on Linetypes, select the ones you want...drag and drop
etc...
seems like much more than a split second to me. Here I type RA (restoreall)
on the keyboard and hit enter to accomplish the above. Don't have to have a
secondary drawing open. Now that's a split second. Toolbars, pallettes, and
drop downs are for slow pokes :)
Dave
DDP |
|
| Back to top |
|
 |
Tom Smith
Guest
|
Posted:
Wed Dec 08, 2004 9:40 pm Post subject:
Re: NOT purging layers |
|
|
Note that this is exactly the same technique as inserting an empty file
containing the desired layers, just a different interface for doing so. The
only caveat is that if a layer is defined incorrectly in the current drawing
(e.g. wrong color etc.) it won't be corrected/updated by this method.
Having a button defined with a macro along the lines of "-insert mylayers
0,0 1 1 0" should be considerably quicker than opening Design Center,
browsing to the file, and manually dragging in the layers. If (like us) you
don't normally use it, you may quickly grow weary of opening Design Center
just for this one task. It takes a good bit more than a "split second" to
open (seems more like an eternity when you're trying to get things done)
which is why my users have a great resistance to using Design Center for
anything that can be accomplished otherwise.
You've gotten several different suggestions for doing exactly what you asked
for: purging everything except layers. Purging them and then doing something
else to put them back seems like outright extra work to me, not exactly "a
lot easier." To each his own, I suppose.
An ultra-simplistic (and not too elegant) button macro to do what you asked
would be.
-purge blocks * no -purge dimstyles * no -purge ltypes * no ... etc.
In other words, run the purge command on everything but layers.
Or, if you're going to do the two-step method, at least combine it on one
button:
-purge all * no -insert mylayers 0,0 1 1 0
By all means try all suggestions and see what suits you the best. |
|
| Back to top |
|
 |
San'dy
Guest
|
Posted:
Wed Dec 08, 2004 9:41 pm Post subject:
Re: NOT purging layers |
|
|
I have a drawing setup that contains nothing but the standard layers we use.
Once a drawing is purged just insert that drawing and you will have all your
layers back. I have a button to do it that takes only 1 click.
^C^C-I;MLAYERS=;0,0;1;1;;
You should not have to manually retype the layer names to get them back.
"andy drafter" <nospam@address.withheld> wrote in message
news:17178821.1101774909037.JavaMail.jive@jiveforum2.autodesk.com...
| Quote: | I'd like to be able to purge an entire drawing without deleting layers
that have no objects. These layers may be used later in the drawing and I
don't want to have to retype in layer names etc.
I know I can be selective and not delete certain layers when purging but
I'm wondering if there is a way to set up a drawing with protected layers
so you can't delete them when you "purge all" even if they don't have
objects. |
|
|
| Back to top |
|
 |
spectrefish
Guest
|
Posted:
Thu Dec 09, 2004 3:40 am Post subject:
Re: NOT purging layers |
|
|
ADC for slow pokes eh?
Sounds like a duel....... ;)
Sunday.....High noon....in front of the Dam saloon(this is actually a pub close by here)
We'll see who's quicker!
Seriously though......to each his own technique. |
|
| Back to top |
|
 |
Dave Jones
Guest
|
Posted:
Thu Dec 09, 2004 7:31 pm Post subject:
Re: NOT purging layers |
|
|
Dam saloon sounds good to me...do we have to duel? :)
"spectrefish" <nospam@address.withheld> wrote in message
news:5807524.1102545680202.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | ADC for slow pokes eh?
Sounds like a duel....... ;)
Sunday.....High noon....in front of the Dam saloon(this is actually a pub
close by here)
We'll see who's quicker!
Seriously though......to each his own technique. |
|
|
| Back to top |
|
 |
teiarch
Guest
|
Posted:
Mon Dec 27, 2004 1:33 am Post subject:
Re: NOT purging layers |
|
|
Seems like Paul Turville's and San'dy's posts are the simplest to understand (Not sure you need the button, though).
Another way to retain layers via inserting std template dwg would be to add the name of the layer in standard text style on each layer. Place the text where you can find it easily. Then, you're forced te erase the layer name before it will purge.... |
|
| Back to top |
|
 |
|
|
|
|