CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDWG file increased in size dramatically!

 Post Reply Post Reply Page  123>
Author
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Topic: DWG file increased in size dramatically!
    Posted: 14.Jan.2016 at 10:39
Hi,

I have a dwg file that I update on a weekley basis, and it's always been about 4mb in size. It's made up of an xref, a fair bit of hatching, text and a few other bits n bobs here and there.

In the last week, the size of the file has increased to around 40mb, and I can't for the life of me figure out why!!

Anyone got any suggestions?

I've uploaded both files here if anyone wanted to take a look....  https://www.dropbox.com/sh/mpitf3we9aqrwlq/AAAZlGA_9E6mfEi4d68W0Rfga?dl=0

Thanksin advance Smile
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Jan.2016 at 12:02
The problem stems primarily from having a ton of linetypes.  Did you happen to look at how many were loaded?  I assumed most weren't even being used and I was right.

The secondary problem with your drawing is no one has bothered to clean it up.  It has duplicate objects, overlapping lines, dozens of unreferenced reg-apps, as well as other useless entities that are no longer germaine to the drawing. 

All of this points to poor CAD practices by someone (not necessarily you as I don't know the true history of the drawing) but none-the-less when you receive a drawing or use parts of a drawing from someone else the FIRST thing you should do is clean it up with the Overkill, -Purge, Audit commands then follow that up by WBlocking everything out to a new drawing.

I've gotten your file size down to under 2MB.


"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Posted: 14.Jan.2016 at 12:28
Ahhh, of course, the linetypes!! I did actually pick up on that a little while back, but it completely skipped my mind today.

I did purge and performed a quick clean up, but obvioulsy not as in depth as you have done.

The drawing was passed on to me from a few hands, from what I gather. So, It's always been a bit of a messy one. Like I said, I had it at around 4MB when I first started working on it, but I must have imported some data along the way, which carried over the linetypes etc.

Thanks for taking a look. It's appreciated
Back to Top
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Posted: 14.Jan.2016 at 12:42
A cheeky request, but I don't suppose you fancy sending over the cleaned up version do you?

You don't ask, you don't get etc  LOL
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Jan.2016 at 12:52
I think the best course of action would be for you to follow the advice I gave so you know how to do it in the future.  You aren't going to get someone to clean your drawing for free when you encounter a problem.  As a matter of fact you should record a macro that duplicates the proper steps.  The commands you need to include in the macro are:

Overkill

-Purge > Regapps

-Purge > All

Audit (answer "yes" to fix errors)

WBlock




Edited by John Connor - 14.Jan.2016 at 12:53
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Posted: 14.Jan.2016 at 12:55
Cheers John.

Cleaning as I type Beer
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Jan.2016 at 12:59
What version of AutoCAD are you running?  Does it have the Action Recorder?

I automate the running of the Overkill, -Purge and Audit commands but run the WBlock command manually if I feel it is needed.


Edited by John Connor - 14.Jan.2016 at 13:00
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Posted: 14.Jan.2016 at 13:04
full 2014.

I always purge (it's almost an OCD). But never really overkill or audit tbh. But I recon I'll be doing a bit more in terms of cleaning, from now on.

I'll admit, I've been quite lazy with this particular drawing. It was passed on to me and I've never really given it much time or efforst, as I only need to change a few text boxes / amend small detail from time to time.


Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Jan.2016 at 13:06
You need to include the dash < - > before the command name as we are using the command line version of Purge.  So it is...  -Purge.

And 2014 does have the Action Recorder so you could create a macro for the first three steps and save it meaning anytime you want to use it all you have to do is play back the macro.


Edited by John Connor - 14.Jan.2016 at 13:08
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
pizzle View Drop Down
Groupie
Groupie


Joined: 27.May.2008
Location: United Kingdom
Status: Offline
Points: 93
Direct Link To This Post Posted: 21.Jan.2016 at 17:47
Not sure if I'm being basic, but even after performing the above cleaning operations, the drawing size is still huge!

I really need to get this back down to the 3/4mb It used to be, as we are uploading onto portals etc.

Any advice? (John) lol
Back to Top

Related CAD tips:


 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,078 seconds.