BaseFeature.parentComponent Property

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

Description

Returns the parent component that owns this feature.

Syntax

"baseFeature_var" is a variable referencing a BaseFeature object.

# Get the value of the property.
propertyValue = baseFeature_var.parentComponent
"baseFeature_var" is a variable referencing a BaseFeature object.
#include <Fusion/Features/BaseFeature.h>

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

Property Value

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

Version

Introduced in version September 2015