DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DCAD File Size

Started by Rob S, January 09, 2012, 06:28:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rob S


I wonder why Designcad files are SOOO much larger than autocad files when a drawing is imported.

Even with today's nearly endless Ram and Disk Space, our files are huge.

Any efficiencies in this system would be beneficial in the long run.
User since forever

Dr PR

Rob,

From discussion I have had with SolidWorks users, DesignCAD files are pretty small - so it could be worse.

I assume you are talking about AutoCAD DWG files? DXF files are much larger than DesignCAD files because they are ASCII text.

Phil
DesignCAD user since 1987

Rob S


Definitely in comparison to dwg files, which must have a very efficient filing system.
User since forever

JJG

I think that the .dwg-format is somehow "compressed", since a number of versions already ...

Concerning the .dcd-files, I often remark that after a "save as" (even under the same name), one can notice that the size decreases significantly (in the windows explorer).

That makes me think that the organization and management of the memory of DesignCAD could (still) be improved, and would solve in the same time many (small) problems.

Dempsey

I vaguely remember that this was discussed in the grey past. Has something to do with autosave and the capability to undo.

After saving and exiting a drawing where I have been working on the saved file is large. Opening that file again and then just saving it will reduce the size by up to 50%.
Dempsey

Lar

Quote from: Rob S on January 09, 2012, 06:28:55 PM
I wonder why Designcad files are SOOO much larger than autocad files when a drawing is imported.

I think this has something to do with blocks but it still suggests a more efficient files saving system.

Quote from: Dempsey on January 10, 2012, 01:49:44 PM
After saving and exiting a drawing where I have been working on the saved file is large. Opening that file again and then just saving it will reduce the size by up to 50%.

In my experience you don't have to save the file... just open and close. If there is undo data stuck to the file it will be deleted and the file saved automatically, which you will see if you check the date of the file while checking the file size.

This is actually a humbug to me since I like my file dates to reflect when I last worked on a file as opposed to when I last opened it. I normally 'save' then 'save as'. This means that the 'saved' file has undo data stuck to it. When my work session is done and I close the file I'm working on (which gets rid of the undo data) I have to remember to open and close the other file or it gets stuck with the undo data. I have tons of backed up (more than once) files taking up unnecessary space. I don't want to open and close them because the dates will be screwed up.

Lar

Dr PR

If you look at file sizes you will see that the .dcd files are usually twice the size as the .bak files while the program is running and the file is open. I assume this includes undo information or some such. For example here are file sizes for one 2D project in V21.1 while the file is open:

project 1.dcd    9035
project 1.bak    4516
project 1.dxf   27798
project 1.dwg   3554

But when I save the file and then close the program the .dcd and .bak files are about the same size.

If I open the file again the file size is the same until I save it, and then the file size doubles. Closing the file without editing it saves it at about the same size as the backup. I just did this in V21.1 and double checked the results.

However, here are file sizes for another 3D project saved in V20:

project 2.dcd    8828
project 2.bak   17760
project 2.dwg  15028

In the past I have noticed a lot of .bak files that were twice the size of the saved .dcd file. I assumed the backup contained undo information, or shading information, etc.

Now that I look back through folders full of files I find some .dcd files that are the same size as the .bak file, some twice the size as the .bak, and some half the size of the .bak. All of these are 3D files.

If someone can make sense of this, please let us all know.

Phil
DesignCAD user since 1987

Rob S

#7
I was once informed after much beaching when my HDD was getting full (so some time back) that this was a feature of something called the microsoft "compound file format" and had nothing to do with DCAD undo information.

http://forum.designcad.com/index.php?topic=1399.0

It sounds like on a save, MS Windows stores an additional copy of the data in the file, and does not erase the first copy.  This is odd, because it also stores the new save in a new file, and only erases the old file after a successful save, so I have no idea what useful purpose this extra data serves.

There is no "undo" available in DCAD after opening one of these bloated files.

By the way, what autocad version are the files you mention above for comparison??
User since forever

Dr PR

Rob,

Good question! The DXF was almost certainly R12. That was  one of the most reliable transfer formats, and I use some programs that just don't bother with anything newer (however, I have used a PCB layout program that would only open R13 reliably). I have no idea what version the DWGs are.

Phil
DesignCAD user since 1987