Description
With purge command you can reject some tables of the drawing like layers,textstyles,linetypes etc that you do not use in the drawing and you do not want anymore.
In purge command you have to specify what objects you want to delete(PurgeFlag). You can also see with purge command which tables are not currently used in the drawing.
Remarks
PurgeFlag can be one of the following:
ALL Removes all unused named objects layers, textstyles, dimstyles, blocks and images.
LAYERS Removes all unused named layers
TEXTSTYLES Removes all unused named textstyles
DIMSTYLES Removes all unused named dimstyles
BLOCKS Removes all unused named blocks
IMAGES Removes all unused image information.
GETLAYERS fills the return value with the array of all unused named layers (the objects still exist)
GETTEXTSTYLES fills the return value with the array of all unused named textstyles (the objects still exist)
GETDIMSTYLES fills the return value with the array of all unused named dimstyles (the objects still exist)
GETBLOCKS fills the return value with the array of all unused named blocks (the objects still exist)