ExtrudeFeatures.addSimple Method

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

Description

Creates a basic extrusion that goes from the profile plane the specified distance.

Syntax

"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object.

returnValue = extrudeFeatures_var.addSimple(profile, distance, operation)
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object.

#include <Fusion/Features/ExtrudeFeatures.h>

returnValue = extrudeFeatures_var->addSimple(profile, distance, operation);
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object.

returnValue = extrudeFeatures_var.addSimple(profile, distance, operation);

Return Value

Type Description
ExtrudeFeature Returns the newly created ExtrudeFeature or null if the creation failed.

Parameters

Name Type Description
profile Base The profile argument can be a single Profile, a single planar face, a single SketchText object, or an ObjectCollection consisting of multiple profiles, planar faces, and sketch texts. When an ObjectCollection is used all of the profiles, faces, and sketch texts must be co-planar.

This method can only be used to create solid extrusions. To create a surface extrusion you need to use the add method.
distance ValueInput ValueInput object that defines the extrude distance. A positive value extrudes in the positive direction of the sketch plane and negative value is in the opposite direction.
operation FeatureOperations The feature operation to perform.

Samples

Name Description
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.

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.

Creates an I-Bream on a User Coordinate System

Demonstrates the use of an existing user coordinate system to create geometry dependent on it.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground.

Version

Introduced in version January 2017