Design.rootComponent Property

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

Description

Returns the root Component.

Syntax

"design_var" is a variable referencing a Design object.

# Get the value of the property.
propertyValue = design_var.rootComponent
"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->rootComponent();

Property Value

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

Samples

Name Description
Loft Feature API Sample Demonstrates creating a new loft feature.
Simple Extrusion Sample Creates a new extrusion feature, resulting in a new component.
Simple Revolve Feature Sample Creates a new revolve feature, resulting in a new component.

Version

Introduced in version August 2014