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);
"moveFeatures_var" is a variable referencing a MoveFeatures object.

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
Move Feature API Sample

Demonstrates creating a new move feature.

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

Version

Introduced in version March 2015