ThreadFeatures.add Method

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

Description

Creates a new thread feature.

Syntax

"threadFeatures_var" is a variable referencing a ThreadFeatures object.
returnValue = threadFeatures_var.add(input)
"threadFeatures_var" is a variable referencing a ThreadFeatures object.

#include <Fusion/Features/ThreadFeatures.h>

returnValue = threadFeatures_var->add(input);

Return Value

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

Parameters

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

Samples

Name Description
Thread Feature API Sample Demonstrates creating a new thread feature.

Version

Introduced in version January 2015