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);
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

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
Creates an I-Bream on a User Coordinate System

Demonstrates the use of an existing user coordinate system to create geometry dependent on it.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground.

Version

Introduced in version August 2014