MoveFeatures.add Method

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

Description

Creates a new move feature.

Syntax

"moveFeatures_var" is a variable referencing a MoveFeatures object.
returnValue = moveFeatures_var.add(input)
"moveFeatures_var" is a variable referencing a MoveFeatures object.

#include <Fusion/Features/MoveFeatures.h>

returnValue = moveFeatures_var->add(input);

Return Value

Type Description
MoveFeature Returns the newly created MoveFeature object or null if the creation failed. Returns nothing in the case where the feature is non-parametric.

Parameters

Name Type Description
input MoveFeatureInput A MoveFeatureInput object that defines the desired move feature. Use the createInput2 method to create a new MoveFeatureInput object and then use methods on the MoveFeatureInput object to define the move feature.

Samples

Name Description
moveFeatures.add Demonstrates the moveFeatures.add method.
Move Feature API Sample Demonstrates creating a new move feature.

Version

Introduced in version March 2015