Removes unused named references such as unused blocks or layers from the document.
See Also | Example
The object or objects this method applies to.
This method is the equivalent of entering PURGE on the command line, selecting the All option, and then choosing Yes to the Purge Everything? prompt.
Deleted objects remain in the document until they are purged using this method.