GeometricConstraints.addHorizontalPoints Method

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

Description

Creates a new horizontal constraint between two points.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

returnValue = geometricConstraints_var.addHorizontalPoints(pointOne, pointTwo)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addHorizontalPoints(pointOne, pointTwo);
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

returnValue = geometricConstraints_var.addHorizontalPoints(pointOne, pointTwo);

Return Value

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

Parameters

Name Type Description
pointOne SketchPoint The first SketchPoint to constrain horizontally.
pointTwo SketchPoint The second SketchPoint to constrain horizontally.

Version

Introduced in version August 2014