LayerKeyedCollection.Empty (String) Method

Removes all the entities on the specified layer.
Public Sub Empty( _ 
ByVal layerName As String
)
This language is not supported or no code example is available.
public void Empty( 
string layerName 
)
This language is not supported or no code example is available.

Parameters

layerName
string

The layer name

Exception type Condition

EyeshotException

Thrown if the OpenBlock is not the RootBlock or if the CurrentBlockReference is different from null.

.NET Framework

Supported in: 4.8

In this article

Definition