Jump to content
gdgt

Significantly compress a DWG?

Recommended Posts

gdgt

Hello,

 

I'm a mechanical engineer with a lot of experience working with SolidWorks, but no experience with AutoCAD. My boss has asked me to take a 44MB .DWG and compress it to under 15MB so that it can be viewed on his iPad to show to clients (using the AutoCAD WS which is limited to opening files smaller than 15MB). I spent hours doing this several weeks ago and was just barely able to get it down to the required size. However, I was never able to repeat the process and to be honest, I'm not entirely sure how I did it. Now I have to do it again for a different file and am struggling to do so.

 

Since the file is just going to be quickly shown to clients it does not need to have all 400 layers or any other kind of accompanying details. Hell I could merge all the layers together if that would reduce the file size and I knew how to do that. I'm not at my work computer right now, but I think by clicking options under save and removing all proxy images (or something like that) I was able to reduce the file size to around17MB. I've purged the file as well but that only removed a few KB. Can anyone help me out with a suggestion on further compressing the file?

 

Thank you!

Share this post


Link to post
Share on other sites
Dadgad

Welcome to the forum. :)

 

Enter ISAVEPERCENT at your commandline > ENTER, reset to zero > ENTER

 

-PURGE (include the hyphen as it is important) at your commandline >

 

Command: -PURGE

Enter type of unused objects to purge

[blocks/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SH

apes/textSTyles/Mlinestyles/Tablestyles/Visualstyles/Regapps/Zero-length

geometry/Empty text objects/All]: R

Enter name(s) to purge :

Verify each name to be purged? [Yes/No] : N

Deleting registered application "ACAD_DSTYLE_DIMJOGGED_JOGANGLE_SYMBOL".

Deleting registered application "ACAD_DSTYLE_DIMTEXT_FILL".

Deleting registered application "ACAD_EXEMPT_FROM_CAD_STANDARDS".

Deleting registered application "ACAD_MLEADERVER".

4 registered applications deleted.

Command:

-PURGE

Enter type of unused objects to purge

[blocks/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SH

apes/textSTyles/Mlinestyles/Tablestyles/Visualstyles/Regapps/Zero-length

geometry/Empty text objects/All]: A

Enter name(s) to purge :

Verify each name to be purged? [Yes/No] : N

Deleting block "*U57".

Deleting block "Dynamic Weld Metric @2.5".

2 blocks deleted.

No unreferenced layers found.

No unreferenced linetypes found.

No unreferenced text styles found.

No unreferenced shape files found.

No unreferenced dimension styles found.

No unreferenced mlinestyles found.

No unreferenced plotstyles found.

No unreferenced table styles found.

No unreferenced materials found.

No unreferenced visual styles found.

No unreferenced multileader styles found.

No unreferenced groups found.

Command:

Command: SAVE

Command: AUDIT

Fix any errors detected? [Yes/No] : Y

Auditing Header

Auditing Tables

Auditing Entities Pass 1

Pass 1 3000 objects audited

Auditing Entities Pass 2

Pass 2 3000 objects audited

Auditing Blocks

58 Blocks audited

Total errors found 0 fixed 0

Erased 0 objects

Command: PURGE

 

Command: SAVE

 

That should help a bit.

Let us know how it goes.

Edited by Dadgad

Share this post


Link to post
Share on other sites
gdgt

Thank you for the quick reply! I will test that first thing in the morning and post my results :D

Share this post


Link to post
Share on other sites
MSasu

Maybe publishing it in as DWF format?

Share this post


Link to post
Share on other sites
f700es

Unless I am missing something no DWF files in WS :( Might try PDF though as I know WS can open that.

Share this post


Link to post
Share on other sites
SLW210

But, there is Design Review for iPad, might be better than AutoCAD WS in this case.

 

As for reducing drawing size, try selecting what is needed and using WBLOCK.

Share this post


Link to post
Share on other sites
gdgt

Dadgad: I followed your instructions and reduced my file size by about 200KB which was not quite enough but still helpful.

 

f700es: Can PDF files be rotated like a 3D DWG in WS? All I'm getting is an image... Maybe I'm not publishing properly?

 

SLW210: WBLOCK seems to work pretty well if I leave out some parts, however I can't do this and need just about everything...

 

Is there anyway to compress everything down to a single layer? I feel like that would cut down the size considerably..

 

I also ran into another problem... The file I'm working with references another file which contains the "base" of the plant. When I use WBLOCK (and only export portions of the plant) I cannot export the "base".. The file opens fine using AutoCAD but when I upload it to my iPad the base isn't there. Is there a way to combine the main file and the referenced file into a single file?

 

Thank you!

Share this post


Link to post
Share on other sites
Cad64

I agree with MSasu and SLW210. Publishing to DWF is probably your best bet. Just have your boss install the free Design Review software on his iPad and he will be able to open and view the dwf.

 

You can learn more about, and download, Design Review here: http://usa.autodesk.com/design-review/

Share this post


Link to post
Share on other sites
gdgt

Well I used BIND to combine the external reference with my drawing so thats solved.

 

I saved to a DWF and uploaded it to Autodesk Cloud and attempted to open it in Design Review, however, all I see is a refresh symbol where the preview should be and no option to open it.. Any ideas?

 

Thank you

 

Edit: Alright I got it.. Some how. I was playing around with WBLOCK and managed to export the entire DWG to a new block but 5MB smaller (12MB now). I haven't been able to recreate that though so I'm not entirely sure what I did, but it opens in AutoCAD WS. Anyone have any ideas on what I did? Just in case I have to do this again for another file in the future..

Edited by gdgt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...