FoldFeatures.createInput Method

Parent Object: FoldFeatures

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/SheetMetal/FoldFeatures.h>

Description

Creates a FoldFeatureInput object. Use methods on this object to define the bend lines and options for the fold you want to create and then use the add method, passing in the FoldFeatureInput object.

Syntax

"foldFeatures_var" is a variable referencing a FoldFeatures object.

returnValue = foldFeatures_var.createInput(stationaryFace)
"foldFeatures_var" is a variable referencing a FoldFeatures object.

#include <Fusion/SheetMetal/FoldFeatures.h>

returnValue = foldFeatures_var->createInput(stationaryFace);
"foldFeatures_var" is a variable referencing a FoldFeatures object.

returnValue = foldFeatures_var.createInput(stationaryFace);

Return Value

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

Parameters

Name Type Description
stationaryFace BRepFace The BRepFace that defines the stationary side of the fold (the side that remains fixed during the bend). Bend lines must lie on this face or on sheet metal faces connected to it.

Version

Introduced in version July 2026