method clear

void clear();

Argumente

Zurückgegebener Wert

This method removes all items from the selection.
var list = scene.getBoxById("myList");
if (list)
{
    var sel = list.selection;
    if (sel)
    {
        sel.clear;
    }
}