GeometricConstraints.addPerpendicular Method

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

Description

Creates a new perpendicular constraint between two lines.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addPerpendicular(lineOne, lineTwo)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addPerpendicular(lineOne, lineTwo);

Return Value

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

Parameters

Name Type Description
lineOne SketchLine The first SketchLine.
lineTwo SketchLine The second SketchLine.

Samples

Name Description
GeometricConstraints.addPerpendicular Demonstrates the GeometricConstraints.addPerpendicular method.

Version

Introduced in version August 2014