UserInterface.activeSelections Property

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

Description

Gets the current set of selected objects.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.

# Get the value of the property.
propertyValue = userInterface_var.activeSelections
"userInterface_var" is a variable referencing a UserInterface object.
#include <Core/UserInterface/UserInterface.h>

// Get the value of the property.
Ptr<Selections> propertyValue = userInterface_var->activeSelections();

Property Value

This is a read only property whose value is a Selections.

Version

Introduced in version August 2014