GeometricConstraints.addEqual Method

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

Description

Creates a new equal constraint between two lines, or between arcs and circles.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addEqual(curveOne, curveTwo)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addEqual(curveOne, curveTwo);

Return Value

Type Description
EqualConstraint Returns the newly created EqualConstraint object or null if the creation failed.

Parameters

Name Type Description
curveOne SketchCurve The first line, arc, or circle.
curveTwo SketchCurve The second line, arc, or circle.

Samples

Name Description
GeometricConstraints.addEqual Demonstrates the GeometricConstraints.addEqual method.

Version

Introduced in version August 2014