PURGEALL question

PURGEALL question

Anonymous
Not applicable
280 Views
3 Replies
Message 1 of 4

PURGEALL question

Anonymous
Not applicable
I have a small VBA program that will do a PURGEALL on all the files in a folder. Seems to work okay. But I'm a little concerned about what it's doing. I have a group of small drawing files that are blocks used by our designers. The file size for this group is around 40KB each. If I open them in AutoCAD 2004 and go to purge, there's nothing to purge. However, when I run the VBA on this group, their file size goes to around 11KB each. There doesn't appear to be anything missing or corrupt when they're opened. So what's being purged by the VBA PURGEALL that can't be purged in AutoCAD?

Thanks, Larry
0 Likes
281 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
are they 2004 file to begin with? 2004 file are supposed to be smaller. -- Thanks, David M. Gardner (remove the "na.") "It's never too late to be what you might have been." George Eliot "LwLoop" wrote in message news:1575261.1080165116647.JavaMail.jive@jiveforum2.autodesk.com... > I have a small VBA program that will do a PURGEALL on all the files in a folder. Seems to work okay. But I'm a little concerned about what it's doing. I have a group of small drawing files that are blocks used by our designers. The file size for this group is around 40KB each. If I open them in AutoCAD 2004 and go to purge, there's nothing to purge. However, when I run the VBA on this group, their file size goes to around 11KB each. There doesn't appear to be anything missing or corrupt when they're opened. So what's being purged by the VBA PURGEALL that can't be purged in AutoCAD? > > Thanks, Larry
0 Likes
Message 3 of 4

Anonymous
Not applicable
Depends what the routine does. Is it removing the preview bitmap? "LwLoop" wrote in message news:1575261.1080165116647.JavaMail.jive@jiveforum2.autodesk.com... > I have a small VBA program that will do a PURGEALL on all the files in a folder. Seems to work okay. But I'm a little concerned about what it's doing. I have a group of small drawing files that are blocks used by our designers. The file size for this group is around 40KB each. If I open them in AutoCAD 2004 and go to purge, there's nothing to purge. However, when I run the VBA on this group, their file size goes to around 11KB each. There doesn't appear to be anything missing or corrupt when they're opened. So what's being purged by the VBA PURGEALL that can't be purged in AutoCAD? > > Thanks, Larry
0 Likes
Message 4 of 4

Anonymous
Not applicable
You guys got it! The PURGEALL is the standard VBA document method. However, I'm saving the files as AutoCAD 2000 and when I do that in VBA a thumbnail preview IS NOT created. The drawings were originally filed with 2004 with previews and as AutoCAD 2000 format. So that's most of the difference: the thumbnail preview.

Thanks,
Larry
0 Likes