Selections.count Property

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

Description

Gets the number of entities currently selected.

Syntax

"selections_var" is a variable referencing a Selections object.

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

// Get the value of the property.
uinteger propertyValue = selections_var->count();

Property Value

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

Version

Introduced in version August 2014