Application.activeEditObject Property

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

Description

Returns the current edit target as seen in the user interface. This edit target is defined as the container object that will be added to if something is created. For example, a component can be an edit target so that when new bodies are created they are added to that component. A sketch can also be an edit target.

Syntax

"application_var" is a variable referencing an Application object.

# Get the value of the property.
propertyValue = application_var.activeEditObject
"application_var" is a variable referencing an Application object.
#include <Core/Application/Application.h>

// Get the value of the property.
Ptr<Base> propertyValue = application_var->activeEditObject();

Property Value

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

Version

Introduced in version August 2014