SplitBodyFeatures.add Method

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

Description

Creates a new split body feature.

Syntax

"splitBodyFeatures_var" is a variable referencing a SplitBodyFeatures object.

returnValue = splitBodyFeatures_var.add(input)
"splitBodyFeatures_var" is a variable referencing a SplitBodyFeatures object.

#include <Fusion/Features/SplitBodyFeatures.h>

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

returnValue = splitBodyFeatures_var.add(input);

Return Value

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

Parameters

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

Samples

Name Description
Split Body Feature API Sample

Demonstrates creating a new split body 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