TwoBendCornerClosureDefinition Object Preview

Derived from: CornerClosureDefinition Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/SheetMetal/TwoBendCornerClosureDefinition.h>

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.

Description

Defines the input properties required for creating a two-bend corner closure feature. This input definition provides a structured way to organize and validate the parameters before passing them to the setTwoBendCornerClosure method.

Methods

Name Description
classType

Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType().

Properties

Name Description
isTemporary Specifies if this CornerClosureDefinition is associated with an CornerClosureFeatureInput or a CornerClosureFeature. Returns true when associated with an input object, which means the persistent corner closure feature has not yet been created.
isUseSheetMetalRuleDefaults Specifies if the defaults from the sheet metal rules should be used for this corner closure. When this is set to true, the relief shape and relief size will be determined based on the sheet metal rule. When this is set to false, the relief shape and relief size can be manually specified using the reliefShape and reliefSizeValue properties. The default value is true.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
objectType This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.

It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType():
reliefPlacement Gets and sets the placement of the two-bend relief. This property controls where the relief feature is positioned relative to the bend intersection. This property is only valid when the twoBendReliefShape is RoundCornerTwoBendReliefShapeType or SquareCornerTwoBendReliefShapeType, and the isUseSheetMetalRuleDefaults property is false. For other relief shapes, this value is ignored. The default value is TangentCornerTwoBendReliefPlacementType.
reliefShape Gets and sets the geometric shape used to relieve stress at the corner where two bends meet. This is only applicable when the isUseSheetMetalRuleDefaults property is false. When isUseSheetMetalRuleDefaults is true, the relief shape is determined based on the sheet metal rule and the value of this property will be ignored.

When isUseSheetMetalRuleDefaults is set to false, this property defaults to RoundCornerTwoBendReliefShapeType.

To set this property when the isTemporary property returns false, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)
reliefSize Returns the parameter that controls the distance from the center of the edge to each side of the flange, so the total width of the flange is twice the width value. This property is only valid when the reliefShape is RoundCornerTwoBendReliefShapeType or SquareCornerTwoBendReliefShapeType, the isTemporary property is false, and the isUseSheetMetalRuleDefaults property is false. Otherwise, this property will return null. When isUseSheetMetalRuleDefaults is false and isTemporary is true the reliefSizeValue property should be used to get and set the relief size.
reliefSizeValue Gets and sets the relief size for the two-bend corner. This is only applicable when the isUseSheetMetalRuleDefaults property is false, and the isTemporary property is true. When isUseSheetMetalRuleDefaults is true, the size value is determined based on the sheet metal rule and the value of this property will be ignored. The relief size is only used when the reliefShape is RoundCornerTwoBendReliefShapeType or SquareCornerTwoBendReliefShapeType. For other relief shapes, this value is ignored.

If the isTemporary property is false, this property will return null and the reliefSize property should be used to access the parameter that controls the relief size.

Version

Introduced in version July 2026