Design.activeComponent Property

Parent Object: Design
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/Design.h>

Description

Returns the component that is current being edited. This can return the root component or another component within the design.

Syntax

"design_var" is a variable referencing a Design object.

# Get the value of the property.
propertyValue = design_var.activeComponent
"design_var" is a variable referencing a Design object.
#include <Fusion/Fusion/Design.h>

// Get the value of the property.
Ptr<Component> propertyValue = design_var->activeComponent();

Property Value

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

Version

Introduced in version November 2014