Environment.Purge Method

Removes unused items from the Environment master collections (Layers, Blocks, Materials, etc.).
Public Sub Purge()
This language is not supported or no code example is available.
public void Purge()
This language is not supported or no code example is available.
Remarks
 
The original order of the items is kept inside each collection and the removed items are disposed. Any BlockReference set as current will be unset.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition