Share

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

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?