Selections.removeByEntity Method

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

Description

Removes the selections that are associated with the specified entity from the set of selected entities.

Syntax

"selections_var" is a variable referencing a Selections object.
returnValue = selections_var.removeByEntity(entity)
"selections_var" is a variable referencing a Selections object.

#include <Core/UserInterface/Selections.h>

returnValue = selections_var->removeByEntity(entity);

Return Value

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

Parameters

Name Type Description
entity Base The entity to remove selections of.

Version

Introduced in version August 2014