TheSwamp

CAD Forums => CAD General => Topic started by: Nardino on April 09, 2014, 03:01:22 PM

Title: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 03:01:22 PM
Hello everybody, I have here a small dilemma. I have many files from our subs that range in size from 1200kb to 1500kb. As i save these files into our network, for no apparent reason they increase to around 8500kb. I am not drawing anything nor adding anything to these drawings.....just resaving them....Any ideas??
thanks...Nardino
Title: Re: File size increases for no apparent reason
Post by: Jeff H on April 09, 2014, 03:04:31 PM
Is it getting saved to a newer version or saved with a vertical?
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 03:08:23 PM
same acad version...2013
Title: Re: File size increases for no apparent reason
Post by: mjfarrell on April 09, 2014, 03:57:13 PM
are you decompressing zipped files?


Title: Re: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 03:59:48 PM
yes, I did received them as a zipped file and the size of each one unzipped was as I mentioned around 1200kb.
Title: Re: File size increases for no apparent reason
Post by: cadtag on April 09, 2014, 04:09:10 PM
are you opening the drawings after unzipping, and then saving them?

If you are running a vertical, AA , C3D, etc, they will add to the file size automatically with AEC data. 
Title: Re: File size increases for no apparent reason
Post by: Crank on April 09, 2014, 04:14:01 PM
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 04:21:43 PM
I am not doing anything to these files........basically unzip them and resave them in our network. They were created in AutoCad 2013 and resaved in with the same version
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 04:40:44 PM
ISAVEPERCENT = 0, and SAVEFIDELITY = 0............already set to these values
Title: Re: File size increases for no apparent reason
Post by: Rob... on April 09, 2014, 04:57:06 PM
Can you purge anything out of them?
How about sharing one of the files before it gets bloated?
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 09, 2014, 05:18:58 PM
Everything is purged.
I am enclosing 3 drawings here in a zipped file. One is a duplicate after i resaved it and the filesize increased, and the other is nothing more than a titleblock. The file to compare is: NHMCT111-500-A4-P0410-00T.dwg and zzzNHMCT111-500-A4-P0410-00T.dwg.
thanks
Title: Re: File size increases for no apparent reason
Post by: MP on April 09, 2014, 05:37:19 PM
Very brief examination of the patient reveals the dwg needs JennyCraig.lsp because it's morbidly bloated with zombies and regapp entries likely introduced by an audit. Sorry, way too busy to provide more info.
Title: Re: File size increases for no apparent reason
Post by: mjfarrell on April 09, 2014, 07:43:32 PM
I'm curious why are you opening them to re-save them at all?

I mean if someone send me a zip file full of files I don't open those files to save them where they belong on the network.

While that still wont get rid of the junk in the files as mentioned above, in theory it also wont create it either.
Title: Re: File size increases for no apparent reason
Post by: MP on April 09, 2014, 07:47:54 PM
Many companies quarentine and clean externally supplied drawings before making them available for internal use. The implementation I use may differ from the OP's but the principle is sound IMO.
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 10, 2014, 09:04:10 AM
I need to resave them because I add a transmittal date
Title: Re: File size increases for no apparent reason
Post by: Greg B on April 10, 2014, 10:04:27 AM
Have you tried opening the bloated file and doing a Saveas as a new file name?

I remember something like this happening in the past when I used to CAD with AutoCAD but that was many many versions ago.
Title: Re: File size increases for no apparent reason
Post by: Matt__W on April 10, 2014, 10:08:23 AM
The AECTOACAD command will scrub the drawing clean of any AEC info (and 3D info) making it a strictly 2D drawing.
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 10, 2014, 11:11:11 AM
I have tried to resave the file and also the command AECTOACAD but still the same results. There must be ghosts in these files.
Title: Re: File size increases for no apparent reason
Post by: MP on April 10, 2014, 11:20:08 AM
I already explained.

Edit: As I recall the bloated deg had approx a half million bogus regapps.
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 10, 2014, 11:35:56 AM
How do I prevent these reg apps to attach to the files?
Title: Re: File size increases for no apparent reason
Post by: mjfarrell on April 10, 2014, 11:39:30 AM
How do I prevent these reg apps to attach to the files?

Try this on for re-size


http://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/regapp-id-cleanup-utility-for-autocad-20082009.html (http://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/regapp-id-cleanup-utility-for-autocad-20082009.html)
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 10, 2014, 12:49:21 PM
thank you, i will give this a try
Title: Re: File size increases for no apparent reason
Post by: MP on April 10, 2014, 01:00:49 PM
You don't need anything but to wblock the drawings out using the * option when prompted for <define new drawing>.
Title: Re: File size increases for no apparent reason
Post by: Nardino on April 10, 2014, 01:09:29 PM
thanks again to you and everybody. you all have been a great help.  :-D
Title: Re: File size increases for no apparent reason
Post by: MP on April 10, 2014, 01:21:34 PM
You're most welcome; thanks for the thanks.
Title: Re: File size increases for no apparent reason
Post by: tmullins on May 19, 2014, 11:27:59 AM
If this hasn't been resolved already...

Did the files originate from MicroStation somewhere along the line? We have seen files bloat to 8-10MB with very little in the file and running this fix helped whittle them down to 1MB:

http://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/autocad-C2-AE-dgn-hotfix.html

Title: Re: File size increases for no apparent reason
Post by: HasanCAD on May 26, 2014, 12:36:39 AM
this is a good tool to clean the infected files
http://bit.ly/1r69Hrp
Title: Re: File size increases for no apparent reason
Post by: Nardino on May 28, 2014, 05:31:04 PM
Thanks, i just downloaded this purge routine and it works very good
Title: Re: File size increases for no apparent reason
Post by: DIW_CADtech on May 30, 2014, 02:18:53 PM
Two things I do in that situation.. first Purge RegApps
_-purge
R
etc........

2nd

If I have access to autocad 2014 I open with that, and then use
_-exporttoautocad
set the format to 2010
Bind set to "not bind"
Suffex to "2010"
then ent ent ent to save.

it will then save yourfile.dwg to the file yourfile2010.dwg  and it will include the layout as well as model space.

this has the effect of removing any types of items like ARX objects that can cause files to bloat... 

If you can give that a shot. and report back that would be awesome.