Selection.entity Property
Parent Object:
SelectionDefined 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
|
"selection_var" is a variable referencing a Selection object.
#include <Core/UserInterface/Selection.h>
// Get the value of the property. Ptr<Base> propertyValue = selection_var->entity();
|
Property Value
This is a read only property whose value is a
Base.
Version
Introduced in version November 2014