RectangularPatternConstraintInput.directionOneEntity Property

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

Description

Defines the first direction of the pattern. This can be null which indicates to use the default which is the X-axis of the sketch. Setting this property to null will automatically clear directionTwoEntity, if it has been set.

Syntax

"rectangularPatternConstraintInput_var" is a variable referencing a RectangularPatternConstraintInput object.

# Get the value of the property.
propertyValue = rectangularPatternConstraintInput_var.directionOneEntity

# Set the value of the property.
rectangularPatternConstraintInput_var.directionOneEntity = propertyValue
"rectangularPatternConstraintInput_var" is a variable referencing a RectangularPatternConstraintInput object.
#include <Fusion/Sketch/RectangularPatternConstraintInput.h>

// Get the value of the property.
Ptr<SketchLine> propertyValue = rectangularPatternConstraintInput_var->directionOneEntity();

// Set the value of the property, where value_var is a SketchLine.
bool returnValue = rectangularPatternConstraintInput_var->directionOneEntity(value_var);

Property Value

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

Version

Introduced in version September 2022