Skip to main content

Compress ProE model beyond what a zip can do.

This is a something I noticed in the past and it an come handy sometimes. So here we go.

When you are in an urgency to send a BIG (in file size) ProE model over e-mail and the zipping is good enough then what would you do.

One possibility is to zip and split into multiple files and send as multiple mails. Then when you receive, you can combine and unzip it.

There is another way. For this you need a small tweaking of the model in ProE. What you do is to make insert mode at the beginning (you can leave one or two features at the beginning in resumed status) and the file size come really down. Don't ask me why. I don't know. In both cases you have the full information needed in the file. But one is very small !! Strange, isn't it.

Anyway the sequence is explained below.

* Open the model in ProE
* Make the insert mode at the beginning of the model. (you can spare one or two features)
* Save the model.
* The file size would have reduced drastically.
* Now you can further do a zip and it will reduce further.

* When you receive the file. Unzip it and open it in ProE and resume the last set by (Edit -> Resume -> Last) and you have the transfer job done.

I did a small study for you to get some idea. Here are the statistics of it.

No of features in the test model :200

Before doing the Insert Mode - % of Original Size
ProE File Size 2,674 KB 100.00%
Zip File Size (without insert option) 1,517 KB 56.73%
After doing the Insert Mode
ProE File Size 1,627 KB 60.85%
Zip File Size (with insert option) 995 KB 37.21%

Instead of getting a 44% (100 - 56) compression, you get a 63% (100 - 37) compression. Almost 50% extra compression. Nice incentive for that little effort. In fact, PTC could have used this as an optional feature to allow people to compress the models through the ProE interface. The only difficulty would be that it takes little bit extra time to compress and decompress.

So thats it. Hope it could come handy for you as well some time.
Have a nice weekend.

PS: Today, one of my blog post was listed in core77dotcom and some more guys were able to reach my site boz of that. Thanks core77dotcom. Checkout their site.


Anonymous said…
Interesting. This means, in the normally saved file there is information that isn't used??

thanks anyway.
Joe said…
One would guess so. Another possibility is that ProE may have some extra information for each resumed feature which may help in faster regeneration.

Ya. Probably I'll do a small test on the sample to see if there is any real difference and I will add that to the post.

Popular posts from this blog

TreeView Structure in Excel VBA

TreeView is extreamly useful in specific cases but it can be bit tricky sometimes to implement.  Last Few days I was working on a TreeView Structure and thought I will share the knowledge I gained...  This post takes you through the basic operations to create and operate a TreeView. It will be like the Folder tree window of the windows explorer.  Moreover, you can have it dynamically updated based on the data in excel.... Here we go..

Excel Function :TABLE

Its been a while since I have done some posting. This option in excel is something which I thought would be very useful for many. Its the TABLE Function in MS Excel. This is especially useful in the following scenarios.