Feature.parentComponent Property

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

Description

Returns the parent component that owns this feature.

Syntax

"feature_var" is a variable referencing a Feature object.

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

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

Property Value

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

Version

Introduced in version August 2014