Selections.add Method
Parent Object:
SelectionsDefined in namespace "adsk::core" and the header file is <Core/UserInterface/Selections.h>
Description
Adds the entity to the set of currently selected entities. The user will see the entity become selected in the user interface.
Syntax
"selections_var" is a variable referencing a Selections object.returnValue = selections_var.add(entity)
|
"selections_var" is a variable referencing a Selections object.
#include <Core/UserInterface/Selections.h>
returnValue = selections_var->add(entity);
|
Return Value
boolean |
Returns true if successful. |
Parameters
entity |
Base |
The entity to select and add to this selection set. |
Version
Introduced in version August 2014