MoveFeatures.createInput2 Method

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

Description

Creates a MoveFeatureInput object. Use properties and methods on this object to define how the move is defined and then use the MoveFeatues.add method, passing in the MoveFeatureInput object to create a move feature.

Syntax

"moveFeatures_var" is a variable referencing a MoveFeatures object.
returnValue = moveFeatures_var.createInput2(inputEntities)
"moveFeatures_var" is a variable referencing a MoveFeatures object.

#include <Fusion/Features/MoveFeatures.h>

returnValue = moveFeatures_var->createInput2(inputEntities);

Return Value

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

Parameters

Name Type Description
inputEntities ObjectCollection An ObjectCollection containing the objects to move. For a parametric model, the collection can contain BRepBody or BRepFace objects but not a combination of both.

Samples

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

Version

Introduced in version January 2023