## DeleteCurrentLayer

### Description

Deletes a layer.

### Scripting Syntax

    DeleteCurrentLayer( [InputObj] );

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObj | String | Name of the layer to delete Default Value: Current layer

### Examples

#### 1. VBScript Example

    DeleteCurrentLayer

#### 2. VBScript Example

    DeleteCurrentLayer "Layers.LayerA"

### See Also

DeleteObj DeleteCurrentPass