Component.features Property

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

Description

Returns the collection that provides access to all of the features associated with this component.

Syntax

"component_var" is a variable referencing a Component object.

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

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

Property Value

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

Samples

Name Description
baseFeatures.add Demonstrates the baseFeature.add method.
extrudeFeatures.add using setSymmetricExtent Demonstrates the extrudeFeatures.add method using the setSymmetricExtent method. To use this sample have a design open that contains a sketch with a profile. When you run the script you will be prompted to select the profile that will be used to create the extrusion.
extrudeFeatures.add using ThroughAllExtent Demonstrates the extrudeFeatures.add method using the ThroughAllExtent method.
formFeatures.add Demonstrates the formFeatures.add method. This creates a new empty form (T-Spline) feature, which you'll see in the timeline.
Loft Feature API Sample Demonstrates creating a new loft feature.
moveFeatures.add Demonstrates the moveFeatures.add method.
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