RectangularPatternConstraint.directionOneEntity Property
Parent Object:
RectangularPatternConstraintDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/RectangularPatternConstraint.h>
Description
Gets and sets the entity that defined 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
"rectangularPatternConstraint_var" is a variable referencing a RectangularPatternConstraint object.
# Get the value of the property. propertyValue = rectangularPatternConstraint_var.directionOneEntity
# Set the value of the property. rectangularPatternConstraint_var.directionOneEntity = propertyValue
|
"rectangularPatternConstraint_var" is a variable referencing a RectangularPatternConstraint object.
#include <Fusion/Sketch/RectangularPatternConstraint.h>
// Get the value of the property. Ptr<SketchLine> propertyValue = rectangularPatternConstraint_var->directionOneEntity();
// Set the value of the property, where value_var is a SketchLine. bool returnValue = rectangularPatternConstraint_var->directionOneEntity(value_var);
|
Property Value
This is a read/write property whose value is a
SketchLine.
Version
Introduced in version September 2022