GeometricConstraints.addOffset2 Method

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

Description

Creates an offset constraint, which results in creating a new set of curves that are an offset of the input curves. The returned offset constraint object provides access to the created curves and the parameter controlling the offset.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addOffset2(input)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addOffset2(input);

Return Value

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

Parameters

Name Type Description
input OffsetConstraintInput The OffsetConstraintInput object that defines the offset to create.

Version

Introduced in version September 2024