GeometricConstraints.addSymmetry Method
Parent Object:
GeometricConstraintsDefined 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
SymmetryConstraint |
Returns the newly created SymmetryConstraint object or null if the creation failed. |
Parameters
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
Version
Introduced in version August 2014