CornerClosureFeatureInput.gap Property

Parent Object: CornerClosureFeatureInput

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

Description

Gets and sets the gap distance. This value will be used to create the parameter that defines the corner gap. If it is a real value it will be interpreted as centimeters. If it is a string it behaves the same as entering the value in the command dialog. A string like "0.25" will be 0.25 of whatever the current design units are. You can also specify the units as part of the string so "0.25 in" is valid. You can also define equations like "Thickness / 2" where Thickness is the name of an existing parameter.

Syntax

"cornerClosureFeatureInput_var" is a variable referencing a CornerClosureFeatureInput object.
# Get the value of the property.
propertyValue = cornerClosureFeatureInput_var.gap

# Set the value of the property.
cornerClosureFeatureInput_var.gap = propertyValue
"cornerClosureFeatureInput_var" Is a variable referencing a CornerClosureFeatureInput Object.
#include <Fusion/SheetMetal/CornerClosureFeatureInput.h>

// Get the value of the property.
Ptr<ValueInput> propertyValue = cornerClosureFeatureInput_var->gap();

// Set the value of the property, where value_var is a ValueInput.
bool returnValue = cornerClosureFeatureInput_var->gap(value_var);
"cornerClosureFeatureInput_var" Is a variable referencing a CornerClosureFeatureInput Object.
// Get the value of the property.
propertyValue = cornerClosureFeatureInput_var.gap;

// Set the value of the property.
cornerClosureFeatureInput_var.gap = propertyValue;

Property Value

This is a read/write property whose value is a ValueInput.

Version

Introduced in version July 2026