Selection.Clear

Description

Removes all items from the Selection object.

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