- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am creating a drawing template that places views with iLogic. It works by copying sheets from 'master' drawings, moving required views onto main sheet then deleting the (now blank) copied sheet. Every time this is done it increased the drawing file size by 3MB or so. This would be ok if that went down when the views were deleted, however if they are deleted the document retains the extra file size. I was working on a template for a few hours today and through these cycles I managed to casually get the drawing document up to 250MB. Which remained even with every view deleted. This was an essentially blank 250MB file. I had to copy my rules to a new template and start again because I could not find a way to get this down. Is there a way I could've purged this document? I imagine it is storing all the views and keeping a long record of the history when it really doesn't need to. I can't seem to find much information on the subject? Or is this just a flaw in Autodesk software?
These are the typical kind of rules I was using to ad/remove view/ sheets, This is not in order or anything but just a rough guide on what I was doing. My code works great, just the resulting file sizes are massive.
ThisApplication.Documents.Open(HosetailFile, True) 'Open drawing.
Dim copySheet As Sheet = StandardisedDrawing.Sheets.Item(1)
copySheet.CopyTo(MainDrawing)
NewSheet.DrawingViews.Item(y).MoveTo(MainSheet)
StandardisedDrawing.Close(True)'Close Template drawing & skip save
NewSheet.Delete
Solved! Go to Solution.