## Selection.Clear

### Description

Removes all items from the Selection object.

### C# Syntax

    Selection.Clear();

### Scripting Syntax

    Selection.Clear();

### Examples

#### VBScript Example

    CreatePrim "Arc", "NurbsCurve"
    CreatePrim "Cube", "NurbsSurface"
    CreatePrim "Cylinder", "NurbsSurface"
    AddToSelection "arc,cube,cylinder", , True
    set sel = Application.Selection
    sel.Clear
    for each i in sel
    logmessage i.name
    next

### See Also

Selection.Remove