Has anyone taken a file, and in order to reduce it in size deleted the configruations, but found out that it did nothing to help witht the file size? If so, how did/if you did reduce the size while retaining all features. I have a toolbox bolt that all configurations were deleted when the part was 7.2mb and after all configurations have been deleted the file size is still 7.2mb. Any suggestions? Part attached for reference. BTW you can see all the conifgurations when viewing the part with notepad but it would be a time wasting task to filter and delete all the information that should have already been deleted.
SolidworksParts And Features
I did a SaveAs a new name and it went to 98K.
WT
I have tried the same thing and a save as copy but file size is still over 7mb
Well, now I can't duplicate it - not sure what I saw the first time. Sorry, no other ideas at this point.
WT
That is okay. After viewing the file in notepad I can see all of the configuration data left over as xml, but when I try to remove that data I can't open the file. I have opened another file that I know was created with toolbox but no configurations and it does not have any data that resembles the xml data in the previously attached file. So if anyone knows of a way to delete this extraneous data let me know.
You might try opening it in a compound file viewer and see if you can delete controlled groups of stuff that way.
WT
A while back I used a utility called ConfigRipper (sorry, don't recall who should receive credit for this great bit of work). It saves off all the configurations of a file into separate files. I used this on some toolbox parts.
As a point of reference, my toolbox part file for Pan Head Phillips machine screws is at 2.2MB with 93 configurations. The resulting "ripped" individual files (each containing one configuration) range in size from 250KB to 1.25 MB. Not sure what is driving the differences in file size, but a small sampling would suggest that the small file sizes have an appearance applied only to the part. The larger file sizes have appearances also applied to individual features.
No idea why or how they got that way and can not think of a reason to have done that... But that is another discusssion!
Hope this gives you something to compare against.
Daen
Wayne, after some research a compound file viewer or structured storage file viewer was the key, but also determining what to remove was another issue that was not that hard to figure out.
Daen that would work but the file(s) I have do not contain any configurations when opened only in the xml stream in the file. Also, the macro that you are referring to can be downloaded from Matt Lorono's site at http://www.sw.fcsuper.com
Rgds,
Kevin