LoftedFlangeFeature.setFacetControlByFacetNumber Method

Parent Object: LoftedFlangeFeature

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

Description

Changes the facet control to a fixed number of facets and sets the value. Only applicable when the forming type is BrakeFormLoftedFlangeFormingType.

To call 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

"loftedFlangeFeature_var" is a variable referencing a LoftedFlangeFeature object.

returnValue = loftedFlangeFeature_var.setFacetControlByFacetNumber(facetNumber)
"loftedFlangeFeature_var" is a variable referencing a LoftedFlangeFeature object.

#include <Fusion/SheetMetal/LoftedFlangeFeature.h>

returnValue = loftedFlangeFeature_var->setFacetControlByFacetNumber(facetNumber);
"loftedFlangeFeature_var" is a variable referencing a LoftedFlangeFeature object.

returnValue = loftedFlangeFeature_var.setFacetControlByFacetNumber(facetNumber);

Return Value

Type Description
boolean Returns true if setting the facet control was successful.

Parameters

Name Type Description
facetNumber ValueInput The number of facets. Must be a unitless integer value in the range 1 to 1000. If it is a real value it will be truncated to an integer. If it is a string it behaves the same as entering the value in the command dialog.

Version

Introduced in version September 2026