ShellFeatures.add Method

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

Description

Creates a new shell feature.

Syntax

"shellFeatures_var" is a variable referencing a ShellFeatures object.
returnValue = shellFeatures_var.add(input)
"shellFeatures_var" is a variable referencing a ShellFeatures object.

#include <Fusion/Features/ShellFeatures.h>

returnValue = shellFeatures_var->add(input);

Return Value

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

Parameters

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

Samples

Name Description
shellFeatures.add Demonstrates creating a shell feature.
Shell Feature API Sample Demonstrates creating a new shell feature.

Version

Introduced in version November 2014