Re: slow saves

Try doing an *audit* and a *purge* of the drawing you're trying to insert.
Gotta be worth a shot, besides being good practise.

DJE

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
I have had similar problems, seems to come from dwgs from certain sources. I found the problem had to do with layer filters, which don't get purged (except in 2004, I think), and accumulate into your current dwg when you insert dwgs that have layer filters.
Cadalyst mentioned a lisp command that removes all the layer filters, at
http://www.imaginit-tech.com /
Click on Services, then ACAD Clinic Archive, look for Aug. 2002 feature "Layer FIlter Overload".
On 15 Aug 2003 09:06:52 -0700, darph snipped-for-privacy@yahoo.com (Brand Z) wrote:

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Thanks Tim! That was exactly the problem. Here is the lisp routine that deletes all of the layer filters. One thing, if you use this, you will have to save the drawing then close it and reopen it in order for you to see the change.
(defun C:LayerFiltersDelete () (vl-Load-Com) (vl-Catch-All-Apply '(lambda () (vla-Remove (vla-GetExtensionDictionary (vla-Get-Layers (vla-Get-ActiveDocument (vlax-Get-Acad-Object)))) "ACAD_LAYERFILTERS"))) (princ "\nAll layer filters have been deleted.") (princ))
(defun C:LFD () (C:LayerFiltersDelete))
(Brand Z) wrote:

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.