Selections.removeByIndex Method

Parent Object: Selections
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/Selections.h>

Description

Removes an item from the set of selected entities.

Syntax

"selections_var" is a variable referencing a Selections object.
returnValue = selections_var.removeByIndex(index)
"selections_var" is a variable referencing a Selections object.

#include <Core/UserInterface/Selections.h>

returnValue = selections_var->removeByIndex(index);

Return Value

Type Description
boolean Returns true if the item was removed successfully.

Parameters

Name Type Description
index integer The index of the selection to remove.

Version

Introduced in version August 2014