FlangeFeature.changeFlangeType Method

Parent Object: FlangeFeature

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/FlangeFeature.h>

Description

Use this method to change the definition type of the flange feature to a different type. Create a new input object using the createBaseFlangeInput, createContourFlangeInput, or createEdgeFlangeInput methods on the FlangeFeatures collection and define the new settings on that input object. Then pass the input object to this method to change the flange type and update the feature.

To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(true)

Syntax

"flangeFeature_var" is a variable referencing a FlangeFeature object.

returnValue = flangeFeature_var.changeFlangeType(input)
"flangeFeature_var" is a variable referencing a FlangeFeature object.

#include <Fusion/SheetMetal/FlangeFeature.h>

returnValue = flangeFeature_var->changeFlangeType(input);
"flangeFeature_var" is a variable referencing a FlangeFeature object.

returnValue = flangeFeature_var.changeFlangeType(input);

Return Value

Type Description
boolean Returns true if the operation was successful.

Parameters

Name Type Description
input FlangeFeatureInput The BaseFlangeInput, ContourFlangeInput, or EdgeFlangeInput object that defines the new flange type and settings.

Version

Introduced in version October 2026