ConstructionPointInput.setByDistanceOnPath Method

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

Description

This input method is for creating a construction point at a specified distance along a path defined by an edge or sketch curve. This can result in a parametric or non-parametric construction point depending on whether the parent component is parametric or is a direct edit component.

Syntax

"constructionPointInput_var" is a variable referencing a ConstructionPointInput object.

returnValue = constructionPointInput_var.setByDistanceOnPath(pathEntity, distance)
"constructionPointInput_var" is a variable referencing a ConstructionPointInput object.

#include <Fusion/Construction/ConstructionPointInput.h>

returnValue = constructionPointInput_var->setByDistanceOnPath(pathEntity, distance);
"constructionPointInput_var" is a variable referencing a ConstructionPointInput object.

returnValue = constructionPointInput_var.setByDistanceOnPath(pathEntity, distance);

Return Value

Type Description
boolean Returns true if the construction point definition is successful.

Parameters

Name Type Description
pathEntity Base The path can be an edge, a sketch curve, or a Path object of multiple entities.
distance ValueInput The distance is a value from 0 to 1 indicating the position along the path where 0 is at the start and 1 is at the end. Values beyond 0 and 1 place the point past the path endpoints.

Version

Introduced in version July 2026