Over 1.117.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 6924:
Question
A
If you want to perform a PURGE in your drawing, without any interactive questions, you can use the commandline version of this command: -PURGE, or a simple LISP macro:
- Either add the following menu macro to your menu:
_-PURGE;_All;*;_N;
- Or add the the following LISP macro:
(vl-load-com)(vla-purgeall (vla-get-activedocument (vlax-get-acad-object)))
Or use LISP to define your own new command PURGEA:
(defun C:PURGEA () (vl-load-com) (vla-purgeall (vla-get-activedocument (vlax-get-acad-object))) (prin1) )
ACAD
8.9.2009
14870×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

