StitchFeatures.add Method

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

Description

Creates a new stitch feature.

Syntax

"stitchFeatures_var" is a variable referencing a StitchFeatures object.

returnValue = stitchFeatures_var.add(input)
"stitchFeatures_var" is a variable referencing a StitchFeatures object.

#include <Fusion/Features/StitchFeatures.h>

returnValue = stitchFeatures_var->add(input);
"stitchFeatures_var" is a variable referencing a StitchFeatures object.

returnValue = stitchFeatures_var.add(input);

Return Value

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

Parameters

Name Type Description
input StitchFeatureInput A StitchFeatureInput object that defines the desired stitch feature. Use the createInput method to create a new StitchFeatureInput object and then use methods on it (the StitchFeatureInput object) to define the stitch feature.

Samples

Name Description
Stitch Feature API Sample

Demonstrates creating a new stitch feature.

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

Version

Introduced in version June 2015