AutoConstrainInput.resultOption Property

Parent Object: AutoConstrainInput
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/AutoConstrainInput.h>

Description

Gets and sets the result type to use when auto constraining the sketch. The default is Option1AutoConstrainResultType.

Syntax

"autoConstrainInput_var" is a variable referencing an AutoConstrainInput object.
# Get the value of the property.
propertyValue = autoConstrainInput_var.resultOption

# Set the value of the property.
autoConstrainInput_var.resultOption = propertyValue
"autoConstrainInput_var" Is a variable referencing an AutoConstrainInput Object.
#include <Fusion/Sketch/AutoConstrainInput.h>

// Get the value of the property.
AutoConstrainResultTypes propertyValue = autoConstrainInput_var->resultOption();

// Set the value of the property, where value_var is an AutoConstrainResultTypes.
bool returnValue = autoConstrainInput_var->resultOption(value_var);
"autoConstrainInput_var" Is a variable referencing an AutoConstrainInput Object.
// Get the value of the property.
propertyValue = autoConstrainInput_var.resultOption;

// Set the value of the property.
autoConstrainInput_var.resultOption = propertyValue;

Property Value

This is a read/write property whose value is an AutoConstrainResultTypes.

Version

Introduced in version July 2026