GeometricConstraints.addVerticalPoints Method

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

Description

Creates a new vertical constraint between two points.

Syntax

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

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addVerticalPoints(pointOne, pointTwo);

Return Value

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

Parameters

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

Version

Introduced in version August 2014