Share

Selection.entity Property

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

Description

Gets the selected entity.

Syntax

"selection_var" is a variable referencing a Selection object.

# Get the value of the property.
propertyValue = selection_var.entity

Property Value

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

Version

Introduced in version November 2014

Was this information helpful?