Selections.removeBySelection Method

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

Description

Removes the specified selection from the set of selected entities.

Syntax

"selections_var" is a variable referencing a Selections object.
returnValue = selections_var.removeBySelection(selection)
"selections_var" is a variable referencing a Selections object.

#include <Core/UserInterface/Selections.h>

returnValue = selections_var->removeBySelection(selection);

Return Value

Type Description
boolean Returns true if the item was removed or not currently selected.

Parameters

Name Type Description
selection Selection The selection to remove.

Version

Introduced in version August 2014