Print Page | Close Window

Help with a heavy file

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11163
Printed Date: 11.Jun.2026 at 21:43


Topic: Help with a heavy file
Posted By: jmontesmx
Subject: Help with a heavy file
Date Posted: 12.May.2015 at 03:12
Please help with this, I received a file so heavy, all the layers was deleted but anyway the file continue so heavy , could somebody  tell me what can i do, I will apreciatte all your help.



Replies:
Posted By: ktahameed
Date Posted: 12.May.2015 at 06:54
Hey Bro,
in AutoCAD 2015  use the PURGE command. Be sure to enable the checkbox labeled "Automatically purge orphaned data." For AutoCAD 2012, 2013, and 2014, there is the DGN Hotfix. then use audit command.
or DXFOUT the full file.
In a new file DXFIN the file created in previous step.
After importing the DXF, generate a new DXF file (DXFOUT).
In a new file DXFIN the file created in previous step.
Purge all.
Save the file.


-------------
ABUASHIKA


Posted By: q100aab
Date Posted: 12.May.2015 at 08:29
Try this
Purge alternative command usinh lisp
Copy this code into the ***.lsp file
and load it appload
and use "purgee" command
Have a nice work

Osman YILMAZ

(vl-load-com)
(defun c:purgee ()
(command "qsave")
(command "clayer" "0" "purge" "a" "*" "n")
(command "qsave")
(vlax-for n (vla-get-blocks                 (vla-get-activedocument (vlax-get-acad-object))) (vl-catch-all-apply 'vla-delete (list n)))
(command "qsave")
(vlax-for n (vla-get-layers                 (vla-get-activedocument (vlax-get-acad-object))) (vl-catch-all-apply 'vla-delete (list n)))
(command "qsave")
(vlax-for n (vla-get-linetypes              (vla-get-activedocument (vlax-get-acad-object))) (vl-catch-all-apply 'vla-delete (list n)))
(command "qsave")
(vlax-for n (vla-get-textstyles             (vla-get-activedocument (vlax-get-acad-object))) (vl-catch-all-apply 'vla-delete (list n)))
(command "qsave")
(vlax-for n (vla-get-registeredapplications (vla-get-activedocument (vlax-get-acad-object))) (vl-catch-all-apply 'vla-delete (list n)))
(command "qsave")
(command "audit" "Y" )
(command "qsave")
(command "clayer" "0" "purge" "a" "*" "n")
(command "qsave")
(princ)
)





Posted By: Pancar
Date Posted: 12.May.2015 at 10:47
Dear Forum,

how to convert PDF file to Cad


-------------
Imagination is more important than knowledge


Posted By: John Connor
Date Posted: 12.May.2015 at 11:26
Pancar: It is bad form to hijack a thread started by someone else on a totally different subject.  Next time start a new thread.

You can find numerous PDF to DWG conversion programs using a simple Internet search.  Many offer a trial version.  Test a couple and then make your choice.  Be aware that many conversion programs do a relatively poor job and will cause you headaches when it comes time to edit the converted drawing.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>




Print Page | Close Window