TwoSidedFlangeEdgeDefinition.widthType Property

Parent Object: TwoSidedFlangeEdgeDefinition

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.

Derived from: FlangeEdgeDefinition.widthType


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

Description

Returns how the width of the flange is currently defined for this edge.

Each width type has its own derived class, so this object can be cast to that class to reach the values that define the width. The exception is an edge created in the user interface using the "two offsets" width where the offsets were measured from selected reference objects rather than the ends of the edge. Those reference objects are not exposed through the API, so the edge is reported through this base class and can only be read.

Syntax

"twoSidedFlangeEdgeDefinition_var" is a variable referencing a TwoSidedFlangeEdgeDefinition object.
# Get the value of the property.
propertyValue = twoSidedFlangeEdgeDefinition_var.widthType
"twoSidedFlangeEdgeDefinition_var" Is a variable referencing a TwoSidedFlangeEdgeDefinition Object.
#include <Fusion/SheetMetal/TwoSidedFlangeEdgeDefinition.h>

// Get the value of the property.
FlangeWidthTypes propertyValue = twoSidedFlangeEdgeDefinition_var->widthType();
"twoSidedFlangeEdgeDefinition_var" Is a variable referencing a TwoSidedFlangeEdgeDefinition Object.
// Get the value of the property.
propertyValue = twoSidedFlangeEdgeDefinition_var.widthType;

Property Value

This is a read only property whose value is a FlangeWidthTypes.

Version

Introduced in version October 2026