RectangularPatternConstraint.distanceType Property

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

Description

Gets and sets how the distance between elements is computed.

Syntax

"rectangularPatternConstraint_var" is a variable referencing a RectangularPatternConstraint object.

# Get the value of the property.
propertyValue = rectangularPatternConstraint_var.distanceType

# Set the value of the property.
rectangularPatternConstraint_var.distanceType = propertyValue
"rectangularPatternConstraint_var" is a variable referencing a RectangularPatternConstraint object.
#include <Fusion/Sketch/RectangularPatternConstraint.h>

// Get the value of the property.
PatternDistanceType propertyValue = rectangularPatternConstraint_var->distanceType();

// Set the value of the property, where value_var is a PatternDistanceType.
bool returnValue = rectangularPatternConstraint_var->distanceType(value_var);

Property Value

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

Version

Introduced in version September 2022