RectangularPatternConstraintInput.directionTwoEntity Property

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

Description

Defines the second direction of the pattern. This can be null which indicates to use the default which is perpendicular to direction one. The directionOneEntity property must be set before setting this property.

Syntax

"rectangularPatternConstraintInput_var" is a variable referencing a RectangularPatternConstraintInput object.

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

# Set the value of the property.
rectangularPatternConstraintInput_var.directionTwoEntity = 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->directionTwoEntity();

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

Property Value

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

Version

Introduced in version September 2022