GeometricConstraints.addHorizontal Method
Parent Object:
GeometricConstraintsDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/GeometricConstraints.h>
Description
Creates a new horizontal constraint on a line.
Syntax
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.returnValue = geometricConstraints_var.addHorizontal(line)
|
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
#include <Fusion/Sketch/GeometricConstraints.h>
returnValue = geometricConstraints_var->addHorizontal(line);
|
Return Value
HorizontalConstraint |
Returns the newly created HorizontalConstraint object or null if the creation failed. |
Parameters
line |
SketchLine |
The line to constrain horizontally. |
Samples
Version
Introduced in version August 2014