GeometricConstraints.addSymmetry Method

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

Description

Creates a new symmetry constraint.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addSymmetry(entityOne, entityTwo, symmetryLine)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addSymmetry(entityOne, entityTwo, symmetryLine);

Return Value

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

Parameters

Name Type Description
entityOne SketchEntity The first sketch entity to be symmetric.
entityTwo SketchEntity The second sketch entity to be symmetric. It must be the same type as the first entity.
symmetryLine SketchLine The SketchLine that defines the axis of symmetry.

Samples

Name Description
GeometricConstraints.addSymmetry Demonstrates the GeometricConstraints.addSymmetry method.

Version

Introduced in version August 2014