GeometricConstraints.addParallel Method

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

Description

Creates a new parallel constraint between two lines.

Syntax

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

#include <Fusion/Sketch/GeometricConstraints.h>

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

Return Value

Type Description
ParallelConstraint Returns the newly created ParallelConstraint 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.addParallel Demonstrate the GeometricConstraints.addParallel method.
Creates an I-Bream on a User Coordinate System Demonstrates the use of an existing user coordinate system to create geometry dependent on it.

Version

Introduced in version August 2014