AutoConstrainResult.addedDimensions Property

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

Description

Returns an array of the SketchDimension objects that were added to constrain the sketch. If no dimensions were added during the auto constrain operation, this property returns an empty array.

Syntax

"autoConstrainResult_var" is a variable referencing an AutoConstrainResult object.
# Get the value of the property.
propertyValue = autoConstrainResult_var.addedDimensions
"autoConstrainResult_var" Is a variable referencing an AutoConstrainResult Object.
#include <Fusion/Sketch/AutoConstrainResult.h>

// Get the value of the property.
std::vector<Ptr<SketchDimension>> propertyValue = autoConstrainResult_var->addedDimensions();
"autoConstrainResult_var" Is a variable referencing an AutoConstrainResult Object.
// Get the value of the property.
propertyValue = autoConstrainResult_var.addedDimensions;

Property Value

This is a read only property whose value is an array of type SketchDimension.

Samples

Name Description
AutoConstrain Sample Demonstrates using the AutoConstrain API to automatically add geometric constraints and dimensions to a sketch. This sample creates a simple sketch with a rectangle and circle, then applies automatic constraints using the origin point as a datum.

Version

Introduced in version January 2026