Features.extrudeFeatures Property

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

Description

Returns the collection that provides access to the extrude features within the component and supports the creation of new extrude features.

Syntax

"features_var" is a variable referencing a Features object.
# Get the value of the property.
propertyValue = features_var.extrudeFeatures
"features_var" Is a variable referencing a Features Object.
#include <Fusion/Features/Features.h>

// Get the value of the property.
Ptr<ExtrudeFeatures> propertyValue = features_var->extrudeFeatures();
"features_var" Is a variable referencing a Features Object.
// Get the value of the property.
propertyValue = features_var.extrudeFeatures;

Property Value

This is a read only property whose value is an ExtrudeFeatures.

Samples

Name Description
extrudeFeatures.addSimple Demonstrates the extrudeFeatures.addSimple method.
Extrude Feature API Sample

Demonstrates creating a new extrude feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

The script uses the timeline (<code>rollTo</code>) to inspect feature history.

extrudeFeatures.add using setOneSideExtent Demonstrates the extrudeFeatures.add method using the setOneSideExtent 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 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 thin extrude Demonstrates the extrudeFeatures.add method using the setThinExtrude 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 thin extrusion.
extrudeFeatures.add using ThroughAllExtent Demonstrates the extrudeFeatures.add method using the ThroughAllExtent method.
extrudeFeatures.add using setTwoSidesExtent Demonstrates the extrudeFeatures.add method using the setTwoSidesExtent method. To use this sample have a design open that contains a profile and a body that is positioned away from the profile but is a size where when the profile is extruded it will intersect the body. When you run the script you will be prompted to select the profile that will be used to create the extrusion and the body to extrude to. The extrusion will be created up to the body with an offset and will also be offset from the sketch plane.
Move Feature API Sample

Demonstrates creating a new move feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Manage Participant Bodies API Sample

Demonstrates how to manage participant During Cut operation. Same API can be used to manage participants During intersection also.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Patch Feature API Sample

Demonstrates creating a new patch feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

ReplaceFace Feature

Demonstrates creating a new replaceface feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Shell Feature API Sample

Demonstrates creating a new shell feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Simple Extrusion Sample

Demonstrates creates a new extrusion feature, resulting in a new component.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version August 2014