AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Reply
Valued Contributor
DavidJFuller
Posts: 102
Registered: ‎04-14-2010
Message 11 of 42 (9,210 Views)

Re: How to reduce file size in AutoCAD?

07-16-2010 03:24 PM in reply to: shanower

You need to use the command line -pu or -purge and then the R option, then the A option, then both a second time.

Contributor
shanower
Posts: 12
Registered: ‎12-24-2006
Message 12 of 42 (9,187 Views)

Re: How to reduce file size in AutoCAD?

07-20-2010 03:19 AM in reply to: kia9878

Hi,

Do you have any idea how I can write some text on a curved surface? Also I am having some problem with the imprint command... When I imprint something onto a surface, it increases my file size to a large extend............... Could you please give me some suggestions???????????

 

Regards,

Shanower

Valued Mentor
Randy_Culp
Posts: 1,257
Registered: ‎08-17-2007
Message 13 of 42 (9,180 Views)

Re: How to reduce file size in AutoCAD?

07-20-2010 05:50 AM in reply to: shanower
With the cost of storage now dirt cheap, what's your concern over file size?
Member
SmithRonald
Posts: 4
Registered: ‎04-13-2011
Message 14 of 42 (8,616 Views)

Re: How to reduce file size in AutoCAD?

04-13-2011 10:55 AM in reply to: Randy_Culp

He probably wants to send the file using email.

Active Contributor
tcharbonneau
Posts: 28
Registered: ‎09-10-2001
Message 15 of 42 (8,266 Views)

Re: How to reduce file size in AutoCAD?

08-08-2011 11:22 AM in reply to: shanower

In addition to what was said, one thing we found that really balloons filesize is layer filters.  If you are unaware because you never use them like was the case with us, they get compounded every time something gets copied into a drawing.  We could delete all entities, purge, save, and still have an "empty" drawing that was nearly 1MB.  Some drawings from customers had literally a thousand layer filters.  Someone from these boards was kind enough to show us how to get rid of layer filters easily.  We put this in the startup lisp so it runs with every drawing.

 

(defun C:LFD ()
(vl-Load-Com)
(vl-Catch-All-Apply '(lambda ()
(vla-Remove
(vla-GetExtensionDictionary
(vla-Get-Layers
(vla-Get-ActiveDocument
(vlax-Get-Acad-Object)))) "ACAD_LAYERFILTERS")))
(princ "\nAll layer filters have been deleted.")
(princ)
)
(c:lfd)

Contributor
supreem
Posts: 18
Registered: ‎05-29-2008
Message 16 of 42 (7,832 Views)

Re: How to reduce file size in AutoCAD?

11-08-2011 03:44 PM in reply to: shanower

1. Purge everything you can (layers, blocks, etc... everything in the list)

2. Delete reg. apps, -purge > r > enter > no

3. Even though I've been told that blocks help reduce file size, I've found it to be the complete opposite, so not sure why people tell me this... so get rid of blocks (burst or explode) (use burst if you have attributes in it that you want to keep (you need Express tools to use this)) Think of it this way, a block is a group, and group name and selection must be stored to retain that info, which means file size increases... It never works the other way around.. Add complexities, reduces file size? lol no.

4. Save the file unshaded, may not help with file size but at least with load speed.

5. Recoveries do help, but no guarantee.

6. One thing we do is use a .CTB file for plotting, and not the .STB. This might also help, since you won't have to store line thickness to items/layers, instead it's the color that dignifies its plot thickness, and that's stored in a different file (the .ctb). Never tried this so don't take my word for it... meaning don't go all out on this and find out it doesn't work... test it first.

7. Faces....   Bad. Bad Bad.   Use solids whenever possible, and this I know helps tons. (95% of my work is 3D, so take my word on this one).

8. Images... avoid. Especially PDF's.

 

Thats about all i could think of in 10 mins... Hope that helps the next person curious.

 

New Member
jmbsrq
Posts: 2
Registered: ‎01-11-2012
Message 17 of 42 (7,619 Views)

Re: How to reduce file size in AutoCAD?

01-11-2012 08:08 AM in reply to: shanower

I've found that saving drawings as version greatly reduces the filesize. Also, purging registry app's helps.

New Member
jmbsrq
Posts: 2
Registered: ‎01-11-2012
Message 18 of 42 (7,616 Views)

Re: How to reduce file size in AutoCAD?

01-11-2012 08:08 AM in reply to: jmbsrq

Sorry about that. I meant to say saving as Acad 2007 version greatly reduces filesize!

Active Contributor
Volk359
Posts: 26
Registered: ‎12-31-2008
Message 19 of 42 (7,466 Views)

Re: How to reduce file size in AutoCAD?

02-01-2012 05:05 PM in reply to: shanower

As per a couple of previous posters; thaw/turn on all layers and delete what is not necessary (construction lines, incidental crap) then wblocking the entire drawing is a great help.  I found this to be a very handy lisp and can reduce the file size usually by half and sometimes up to 75%:

 

(prompt "\nAfter purguing, this drawing will close.:  ")
(terpri)
(setvar "CMDECHO" 0)
(setvar "EXPERT" 2)
(command "QSAVE" "WBLOCK" (strcat (getvar "dwgprefix") (getvar "dwgname")) "*")
(setvar "EXPERT" 0)
(setvar "CMDECHO" 1)
(command "close" "y")

New Member
cainer123
Posts: 1
Registered: ‎11-06-2012
Message 20 of 42 (6,238 Views)

Re: How to reduce file size in AutoCAD?

11-06-2012 12:52 PM in reply to: tfisch86

Additionally, if you audit (command prompt "audit") your drawing and type "y" when prompted with "Fix any errors detected?" before you purge it should help bring down your file size.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.