Component.parentDesign Property

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

Description

Returns the parent product this component is owned by.

Syntax

"component_var" is a variable referencing a Component object.

# Get the value of the property.
propertyValue = component_var.parentDesign
"component_var" is a variable referencing a Component object.
#include <Fusion/Components/Component.h>

// Get the value of the property.
Ptr<Design> propertyValue = component_var->parentDesign();

Property Value

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

Version

Introduced in version August 2014