ConstructionPointPathDefinition.redefine Method

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

Description

Redefines the input geometry of the construction point.

Syntax

"constructionPointPathDefinition_var" is a variable referencing a ConstructionPointPathDefinition object.

returnValue = constructionPointPathDefinition_var.redefine(path, distanceType, distance)
"constructionPointPathDefinition_var" is a variable referencing a ConstructionPointPathDefinition object.

#include <Fusion/Construction/ConstructionPointPathDefinition.h>

returnValue = constructionPointPathDefinition_var->redefine(path, distanceType, distance);
"constructionPointPathDefinition_var" is a variable referencing a ConstructionPointPathDefinition object.

returnValue = constructionPointPathDefinition_var.redefine(path, distanceType, distance);

Return Value

Type Description
boolean Returns true if the redefinition of the Construction Point is successful.

Parameters

Name Type Description
path Path Specifies the Path object the construction point will be redefined on. To create a Path from a single BRepEdge or SketchCurve, use the static Path.create method (e.g. Path.create(edge, ChainedCurveOptions.noChainedCurves)).
distanceType PathDistanceTypes Specifies PathDistanceTypes value indicating the measurement type for distance.
distance ValueInput Specifies the distance to determine the position on the specified path to place the construction point.

If the distanceType is set to ProportionalPathDistanceType this should be a unitless number from 0 to 1 indicating the proportion of the path. Values outside [0, 1] will cause this method to return false. This can be a real value or an expression which can be evaluated as a unitless number.

If the distanceType is set to PhysicalPathDistanceType this will be interpreted as a centimeter value if it is set using a real, or if an expression is provided it must be able to be evaluated as a valid distance. Values exceeding the total path length are clamped to the endpoint.

Version

Introduced in version September 2026